Developer builds CoffeeQL, a Rust-based universal query language for four databases
A developer has released CoffeeQL v0.3.1, an open-source query language written in Rust that provides a single unified syntax for querying PostgreSQL, MongoDB, MySQL, and Redis. The project was motivated by the cognitive overhead of constantly switching between four different query syntaxes in a typical backend engineering workflow. CoffeeQL uses a custom readable syntax — such as users[].where(id = 1).give(name, email) — and internally translates queries to the appropriate database format. The library is available on both npm via WebAssembly and PyPI via Python bindings, with 265 tests currently passing. The upcoming v0.4.0 release is planned to add actual query execution support, with full CRUD operations across all supported databases.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in