persistence.js is an asynchronous Javascript database mapper library. You can use it in the browser, as well on the server (and you can share data models between them).
Here is a possible solution for those using Cordova and the sqliteplugin. Using persistencejs and this persistence.store.cordovasql.js the developer is able to take advantage of the sqliteplugin. If the sqliteplugin is not loaded, we will fall back to websql.
Here is a possible solution for those using Cordova and the sqliteplugin. Using persistencejs and this persistence.store.cordovasql.js the developer is able to take advantage of the sqliteplugin. If the sqliteplugin is not loaded, we will fall back to websql.