4 ms·
Only tangentially related, but this reminds me of something I've wanted for a while: Are there any languages for relational queries, but with improved syntax (c
by akavi 10y ago
Only tangentially related, but this reminds me of something I've wanted for a while: Are there any languages for relational queries, but with improved syntax (composability, epxression capture, static typing?) and which "compile" down to SQL?
Ideally, I imagine something that looks something like RethinkDB's ReQL, but DSL-ed up a bit beyond what's possible when it's "just" a JS library (eg, a nicer syntax for referencing table and row instead of "r.table('table name').row('row name')" and support for operator literals so you can write ">" instead of ".gt" or similar.).
- jessemerriman 10y agoThere's Alf, which has a functional, pipeline-style, though I don't know if it's still active: http://www.try-alf.org/blog/ http://www.try-alf.org/blog/
- akavi 10y agoSweet, Alf seems to be exactly what I wanted! Shame it no longer seems to be under active development, but it seems to be pretty mature?
- wvenable 10y agoC# has Linq