SQLite or IndexDB?

I am working on a native app and I was looking at implementing SQLite but it seems SQL is no longer supported by iOS, and possibly Android in the near future.

My question is should I use the cordova-sqlite-evcore-extbuild-free plugin or look at IndexDB?

I build for Android and iOS with Voltbuilder.

I would use cordova-sqlite-evcore-extbuild-free.

Have a look at this thread:

Thank you.

Do you have a sample project using cordova-sqlite-evcore-extbuild-free I could take a look at?

Just add this line to config.xml:

<plugin name="cordova-sqlite-evcore-extbuild-free" source="npm" />

Hi, sorry yes I have done that but I’m new to sql and don’t know all the commands or how to retrieve the data from the tables ie for loading a table column into a list group.

I have looked at the sample projects but non of them are specific to that plug in.

OK, so your question is actually “How do I use SQLite?”, not about the plugin.

SQLite works fine in Chrome, so you can test on the desktop. Have a look at the samples, including NorthWind to see actual code reading and writing SQLite databases.

There are also several articles in the Wiki: