mentat/query-translator
Richard Newman ed04083ceb Dedupe SQL arguments.
This isn't perfect -- we still need to clone in a couple of cases -- but it avoids us
passing duplicate strings down into SQLite whenever the same value is mentioned more
than once in a query.
2017-06-07 11:46:18 -07:00
..
src UUIDs and instants. Fixes #44, #45, #426, #427. (#438) r=nalexander 2017-04-28 20:11:55 -07:00
tests Dedupe SQL arguments. 2017-06-07 11:46:18 -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.