pglite
pglite copied to clipboard
Lightweight WASM Postgres with real-time, reactive bindings.
Enable passing the return value of a live query directly to `useLiveQuery`. This allows you to create a live query in a react-router loader, then pass it to the route...
This fixes live queries when they are querying a view rather than a table. It now recursively introspects the dependencies of the query to find all tables it depends on....
Electric can emit updates with no columns to change, this resulted in invalid SQL in a query that would be redundant. This change skips those messages.
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....
Export a database from PGlite with [`dumpDataDir`](https://pglite.dev/docs/api#dumpdatadir), with this is now includes an `index.json` as a file listing. Untar to a web server, use the `HttpFs` vfs, and point it...
There are a few things that would be useful here: 1. For the VFS to have a PGLITE_VERSION file containing the PGlite version number that *created* the database. This is...