- cross-posted to:
- programming@programming.dev
- cross-posted to:
- programming@programming.dev
For the last year, I’ve been working on a query language that aims to replace SQL and data frame libraries. It’s continuation of my work on PRQL and EdgeQL.
Now I need feedback on usability, ergonomics and overall design. Read trough the examples, check out the CLI & tell me what could be better.


Two great questions!
First one comes down to how database query optimization and predicate pushdown in particular. In this case,
albumswould probably have an index onalbums.idcolumn, which would optimizeget_album_by_idinto a single index lookup. Ideally, I would want to have an explicit function for this, something likesql::from_index("albums", "id", 3), but there is no such thing as explicit index lookup in PostgreSQL right now.Regarding different function syntaxes:
{ ... }construct a new tuple (think object, struct, record),So: