How to reset SQLite storage?


#1

Hello guys,

I couldn’t find this anywhere.
How can I reset sqlite storage? it’s storing data in web browser. I want to erase everything saved so far.
Is there any command like
this.storage.remove(all);
I’m looking for a reset command.

Thanks,


#2
  • go to developer mode(inspect or press F12)

  • Select Application in inspect menu

  • And click on clear to clear web storage

#3

Thanks but where is “clear to clear web storage” button?
I can’t find it…


#4

this.storage.query(‘delete from kv’);


#5

Does this work on android and iOS too?
for instance, I might use it with a storage reset button so users can reset their saved list.

Thanks!


#6

It is not platform specific, but a sql statement to remove all entries in a table.
Short answer, yes.