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

Support IndexedDB #114

Open brendanlong opened 11 years ago

brendanlong commented 11 years ago

Is there any plan to support IndexedDB? It seems to be better supported than Web SQL, and is "the way of the future": http://caniuse.com/#feat=indexeddb

julien51 commented 10 years ago

Up!

designbyadrian commented 10 years ago

PersistenceJS seems to give more query power than the latest localForage from Mozilla. Looking forward to IndexedDB support!

romanov commented 9 years ago

:heavy_plus_sign: I'm going to replace WebSQL in my app with IndexedDB after IOS 8 release.

roymj88 commented 9 years ago

:+1: to this.

It will be great if this can be done in such a way that while creating a database,

  1. Checks if IndexDB(since this is the future) is available.
  2. Fallback to WebSQL if indexDB is not supported.

The worrying stats:

webSQL : http://caniuse.com/#search=webSQL

And indexDB is almost there :

indexDB : http://caniuse.com/#search=IndexedDB

This would be a great addition to an already awesome library!

experion-afsal commented 9 years ago

:+1:

manum176 commented 9 years ago

:+1: Looks like a Must-Needed addition since most of the modern browsers are not going to support WebSQL.

ghost commented 9 years ago

:+1: