object-layer / cordova-sqlite-plugin

Cordova SQLite plugin with a straightforward low-level API
Other
5 stars 15 forks source link

How to safely delete the database file #5

Closed yyfearth closed 8 years ago

yyfearth commented 8 years ago

As compare to the original cordova sqlite storage plugin, is there a way to delete the database file for this plugin?

mvila commented 8 years ago

No, sorry, this is not possible to delete the database file. Maybe you could just delete all tables?

yyfearth commented 8 years ago

Thanks for reply, could you tell me where is the db file located on iOS/Android with given name for the SQLite constructor? So I can located it from the FS and delete it via cordova file plugin.

mvila commented 8 years ago

It should be at the same location as cordova-sqlite-storage. Sorry, I don't now the internal details.