LinkedQL is a new SQL client that supports live queries over any Postgres, MySQL, and MariaDB database. You get result sets that self-update differentially as rows change in your database – via inserts, updates, deletes. Works with no extra tooling/ORM layer or GraphQL servers. You opt into live mode simply with a flag:
client.query('SELECT ...', { live: true }).
More at:
https://linked-ql.netlify.app/capabilities/live-queriesLinkedQL is written in JavaScript and runs in both client and server environments.
GitHub + docs: https://github.com/linked-db/linked-ql
Demo examples included.
I’d love feedback:
• Anything confusing?
• Anything seems useful or dangerous?
• Anything else that'd make you consider LinkedQL for production?
Thanks for taking a look — happy to answer any questions.
I get this is a backend library, which is great, but like does it use postgres replication slots? Per the inherited queries, do they all live on 1 machine, and we just assume that machine needs to be sufficiently beefy to serve all currently-live queries?
Do all of my (backend) live-queries live/run on that one beefy machine? What's the life cycle for live-queries? Like how can I deploy new ones / kill old ones / as I'm making deployments / business logic changes that might change the queries?
This is all really hard ofc, so apologies for all the questions, just trying to understand -- thanks!
reply