mentat/query-translator
Richard Newman 64acc6a7ee Support :with (#311) (#414) r=nalexander
* Pre: refactor projector code.
* Part 1: maintain 'with' variables in AlgebrizedQuery.
* Part 2: include necessary 'with' variables in SQL projection list.

The test produces projection elements for `:with`, even though there are
no aggregates in the query. This test will need to be adjusted when we
optimize this away!
2017-04-17 09:23:55 -07:00
..
src Part 3: finish expansion and translation of complex or. 2017-04-12 19:21:45 -07:00
tests Support :with (#311) (#414) r=nalexander 2017-04-17 09:23:55 -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.