coresmart / persistencejs

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).
http://persistencejs.org
1.73k stars 240 forks source link

adding Cordova SQL store (with fallback to websql) #141

Closed otype closed 10 years ago

otype commented 10 years ago

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.

zefhemel commented 10 years ago

Great, thanks!