9 ms·
SQLite.js is in memory only, it doesn't persist anything in web storage. There is absurd.js which uses indexedDB as a storage layer, but it's called absurd for
by throw_m239339 5y ago
SQLite.js is in memory only, it doesn't persist anything in web storage. There is absurd.js which uses indexedDB as a storage layer, but it's called absurd for a reason, the underlying storage engine browsers use, especially Firefox, is often Sqlite itself.
So no, between a standard that allows the developer not have to load an extra blob of code and roll their own persistance layer, and a standard everybody implements, I'll take the standard.
There is absolutely nothing right with the current situation.
- samwillis 5y agoSee my comments in this thread above: https://news.ycombinator.com/item?id=29404255 https://news.ycombinator.com/item?id=29404255 A low level sandboxed file system api (which is 100% coming) will let developers do exactly what we want in incredible future proof way and not be tied to out of date and none extendable apis. I want sql in the browser, in my opinion websql was the wrong way to to it, Wasm is.
- deleted 5y ago[deleted]