70b112801c
* Add a failing test for EDN parsing '…'. * Expose a SQLValueType trait to get value_type_tag values out of a ValueType. * Add accessors to FindSpec. * Implement querying. * Implement rudimentary projection. * Export mentat_db::new_connection. * Export symbols from mentat. * Add rudimentary end-to-end query tests.
6 lines
424 B
Markdown
6 lines
424 B
Markdown
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.
|