4 ms·
> Nowadays you can use sqlite3 through wasm if you want, though I don’t know how you’d handle the persistence layer. There was a post on here in the last month
by tehbeard 5y ago
> Nowadays you can use sqlite3 through wasm if you want, though I don’t know how you’d handle the persistence layer.
There was a post on here in the last month or 2, atleast for reading, that used http range headers for reading the db pages.
as for writing, you're gonna hate this, but a vfs impl. for SQLite using indexedDB as the backing store is your best option (Safari stupidity not withstanding)
- masklinn 5y ago> There was a post on here in the last month or 2, atleast for reading, that used http range headers for reading the db pages. That was for a local SQLite doing remote loads/stores, I was thinking more local loads/stores, what websql would have provided. > as for writing, you're gonna hate this, but a vfs impl. for SQLite using indexedDB as the backing store is your best option (Safari stupidity not withstanding) Yeah that’s what I was figuring out but then it feels like the SQLite bits are significantly less useful, and I’m not sure how good indexeddb is at being a block device.