3 ms·
WebSQL should not be used under any circumstances. Instead use IndexedDB with this shim: http://nparashuram.com/IndexedDBShim/ http://nparashuram.com/IndexedDB
by MatthewPhillips 14y ago
WebSQL should not be used under any circumstances. Instead use IndexedDB with this shim: http://nparashuram.com/IndexedDBShim/ http://nparashuram.com/IndexedDBShim/
Also, Chrome support for IndexedDB should have an asterisks as it implements an outdated version of the spec.
- untog 14y ago"Don't use WebSQL, use IndexedDB. It doesn't work correctly in Chrome." Don't get me wrong, I know what you're saying and why. Just the juxtaposition of the two statements is noteworthy.
- MatthewPhillips 14y agoYou can shim WebKit to use onupgradeneeded, https://github.com/matthewp/multientry-shim/blob/master/upgradeneeded.js https://github.com/matthewp/multientry-shim/blob/master/upgr... There are still a few other things that it won't do (multiEntry, Blob storage to name a couple).