If I need SQL, then I use http://cordova.apache.org/docs/en/latest/cordova/storage/storage.html#sqlite-plugin
If I need to store JS objects and don't need to do a lot of relational work, I'll use IndexedDB (with buggy fill on iOS that ends up using SQLite anyway).
Do you need a central database for your application, or a local database on each user's device?
- If local data for each device, do you want to sync them over all devices of the same user?
- If local data, what kind of data?
Cool, thank you! I will probably use SQL Lite.
I just need to store simple data local to each device. It doesn't need to be shared. The data is for basic entries that the user can create. It would be like 4 data points per entry and that's it.
"Four data points per entry" sounds like one entity with four attributes.
Wouldn't you rather store the data as serialized json in localStorage? That would eliminate the overhead for a database engine.