is there's a support for wasm offline storage like sqlite? or other alternative for large datasets? nosql or somethings
👀 2
m
Michael Paus
02/05/2025, 8:40 AM
There is work in progress for SQLDelight/Sqlite but I am still not sure whether that will become a viable solution that can handle and persist large scale data. It would depend on how the data is persisted. If it’s via local storage, this solution would be limited by its quite restrictive quota.
🤔 1
c
chrisjenx
02/06/2025, 10:14 PM
What would be nice if just a caching layer, is to use sqlite(delight) on things like Java/iOS/Android etc but then use something like IndexedDB on web, that s of course making the assumption you're just using a caching layer and not a full blown application. At that point I would just use suprabase
That’s what I meant by work in progress. I had a quick look into it and it seems to use OPFS. This would make it usable for larger amounts of data but I’ll wait until this is integrated and properly tested.
c
chrisjenx
02/07/2025, 8:03 PM
The sqldelight team don't use wasmJs (and probably never will) just based on how square is setup, it's the main reason it's not already merged because they don't need/use it, wondering if we can push to have more admins from the community to help get some more features (and fixes) over the line