unjs / db0

📚 Lightweight SQL Connector
https://db0.unjs.io
MIT License
171 stars 18 forks source link

Supports PGLite #109

Closed adrienZ closed 1 month ago

adrienZ commented 2 months ago

Describe the feature

Hi ! I head about this new database from eletric-sql: pglite.

It's postgres but embedded (just like SQLite). To me it makes it interesting as it could be a very good thing for DX and testing. Plus, drizzle supports it already: https://orm.drizzle.team/learn/latest-releases/drizzle-orm-v0306

Do you think this connector would be worth it ?

From ChatGPT here is what the connector could look like: https://chatgpt.com/share/782dbe14-5f99-4780-b3f1-bfe8de31adf3

Additional information

pi0 commented 2 months ago

I was about to create same issue for a while. Surely that looks a good addition if had a chance, feel free to open a draft PR.

adrienZ commented 2 months ago

Sorry for the multiples commits, my PR is ready to be reviewed :)

pi0 commented 1 month ago

thnx!