electric-sql / pglite

Lightweight WASM Postgres with real-time, reactive bindings.
https://pglite.dev
Apache License 2.0
9.46k stars 204 forks source link

JDBC Driver #186

Open bowbahdoe opened 3 months ago

bowbahdoe commented 3 months ago

I assume this isn't anywhere near on the roadmap; but I would be happy if this were made available on the JVM through one of its WASM runtimes.

So, here for tracking.

czeidler commented 2 months ago

This would be great for integrating into a SQL viewer, e.g. DBeaver. For example, this would make it possible to use PGlite to written a Postgres DB to a local filesystem folder and then to inspect the DB using a SQL viewer. Pretty much what you can do with Sqlite.

You could do something similar using https://github.com/supabase-community/pg-gateway?tab=readme-ov-file#pglite but just reading it straight from the fs would be even better.