mentat/query-translator
Nick Alexander c8da4be38f (query) Implement tx-log API: (tx-ids ...) and (tx-data ...) functions.
`tx-ids` allows to enumerate transaction IDs efficiently.

`tx-data` allows to extract transaction log data efficiently.

We might eventually allow to filter by impacted attribute sets as well.
2018-04-19 09:58:41 -07:00
..
src (query) Pre: Model columns that don't have type tags closer to Column. 2018-04-19 09:58:41 -07:00
tests (query) Implement tx-log API: (tx-ids ...) and (tx-data ...) functions. 2018-04-19 09:58:41 -07:00
Cargo.toml Partial work from simple aggregates work (#497) r=nalexander 2017-11-30 15:02:07 -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.