mentat/query-projector
2023-11-25 15:59:43 +00:00
..
src resolve compile errors from rusqlite update 2021-11-10 22:17:19 -05:00
tests Update dependencies. Lint. 2020-08-05 23:03:58 -04:00
Cargo.toml Merge branch 'master' into dependabot/cargo/indexmap-approx-1.9 2023-11-25 15:59:43 +00:00
README.md Implement projection and querying. (#353) r=nalexander 2017-03-06 14:40:10 -08:00

This module handles the derivation from an algebrized query of two things:

  • A SQL projection: a mapping from columns mentioned in the body of the query to columns in the output.
  • A Datalog projection: a function that consumes rows of the appropriate shape (as defined by the SQL projection) to yield one of the four kinds of Datalog query result.

These two must naturally coordinate, and so they are both produced here.