Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I tried using this a bit in an earlier version, when there was an option to have a real SQL client library/ORM, and you declared what part of the schema would exist client side. Is there plans to bring this back?

The part where you could use drizzle client side was really what interested me, I don't want to bother learning another new query language apart from SQL.



Hey, it's possible to use PGlite on the client, along with Drizzle. Our "Linearlite" example show this (albeit without Drizzle) with a "write through the database" pattern to sync back to the server.

Live demo: http://linearlite.examples.electric-sql.com

Code: https://github.com/electric-sql/electric/tree/main/examples/...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: