#Index db with pglite possible?

6 messages · Page 1 of 1 (latest)

neon raven
#

It would be possible to implement a collection type that used PGlite, but I think ultimately it adds a level of indirection that's not needed. The intention is to create an IndexedDB backed for collection so that they natively have local persistence. This is at the design phase at the moment and we hope to work on it more actively in a few weeks time.

sweet temple
#

Ah thought I was replying to someone else,
I have managed to following the docs with gpt , create a index db collection that relies on electric sql pglite.
Idk much but it's working I can create update delete.

#

I'm fixing a lot of errors for this.
I also created one with just dexie as layer
Which is still in wip

sweet temple
#

Alright update the dexie layer is goated much better than whatever the heck I was doing with pglite
Followed create collection guide and everything is working for initial setup