mentat/query-translator
Richard Newman bc63744aba Add :limit to queries (#420) r=nalexander
* Pre: put query parts in alphabetical order.
* Pre: rename 'input' to 'query' in translate tests.
* Part 1: parse :limit.
* Part 2: validate and escape variable parameters in SQL.
* Part 3: algebrize and translate limits.
2017-04-19 16:16:19 -07:00
..
src Add :limit to queries (#420) r=nalexander 2017-04-19 16:16:19 -07:00
tests Add :limit to queries (#420) r=nalexander 2017-04-19 16:16:19 -07:00
Cargo.toml Implement projection and querying. (#353) r=nalexander 2017-03-06 14:40:10 -08:00
README.md Begin serializing queries to SQL. r=nalexander 2017-02-17 17:54:07 -08:00

This crate turns an algebrized Datalog query into a domain-specific representation of a SQL query, and then uses mentat_sql to turn that into a SQL string to be executed.

This subsumes both planning and query construction, because in Mentat the SQL query is effectively a query plan.