mentat/query-projector
2017-03-22 11:30:16 -07:00
..
src Track ever-shrinking sets of types for variables, not a single type. (#381) r=nalexander 2017-03-22 11:30:16 -07:00
Cargo.toml Use sqlite3_limit instead of hard-coded SQLITE_MAX_VARIABLE_NUMBER (#371) (#288) r=rnewman 2017-03-13 09:39:19 -07: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.