mentat/query-projector
Conrad Dean cdfd1f6b30 Fix raw get() api to using the Result-based api
rusqlite must have just returned the data itself rather than relying on
the Result type to communicate failures to callers.  Fixing that here,
albeit in a fragile way.
2019-07-22 08:36:32 -04:00
..
src Fix raw get() api to using the Result-based api 2019-07-22 08:36:32 -04:00
tests Pre: Move core/Attribute* to core-traits 2018-08-09 13:16:05 -07:00
Cargo.toml try fixing build by upgrading rusqlite to 0.19 2019-07-17 10:59:38 -04: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.