SQLite in Browsers
Discussions center on native SQLite support in web browsers, the deprecation of WebSQL in favor of IndexedDB, and alternatives like WASM-based SQLite implementations for client-side persistence.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Why not just use IndexedDB in the browser if you don’t want an SQL database?
Local to a webpage, do you feel building wrapper over indexedDB instead of sqlite would be better idea?
WebSQL has been deprecated for a few years now, you should go ahead and pick an IndexedDB library and start using it.
Sad story, database could be native in browsers. Only because every browser adapt the same technology sqlite and w3c said no....
WebSQL is dead, long live WASM SQLite.And in all seriousness, WASM is exactly the way this should be done. It doesn’t tie a db engine to a specific standardised version. It’s far more important to develop low level block storage apis like the OPFS that WASM SQLite is using.
Does this mean we can use sqlite natively on the browser now?
It would be probably other way around if browsers, that just use sqlite underneath, exposed it as offical API for storing data and not that abortion of a database called IndexedDB
Isn't WebSQL supposed to be replaced by IndexedDB?(which FF has btw)
Have you tried using SQLite in the browser and have it play nice with a DB in the back?
Well, WebSql is deprecated, so looks like IndexedDB is the future ..... the shim till then !!