Expand description
SQLite adapter for the Quarb query engine.
A thin catalog driver over the shared relational model
(quarb-relational): it introspects the schema via PRAGMAs
(table_info, foreign_key_list), streams every user table,
maps SQLite’s storage classes to values (NULL → null,
INTEGER/REAL → numbers, text as itself, blobs as a size
placeholder), and hands the result to RelationalModel.
The arbor mapping, the foreign-key reference machinery (-->
chains, ->/<- crosslinks, <-- reverse resolution, the
table-naming hint), and the metadata surface are documented on
the shared model.
Structs§
- Sqlite
Adapter - A SQLite database, materialized as an arbor.
Enums§
- Sqlite
Error - An error loading a database.
Functions§
- column_
catalog - The catalog for a pushed plan’s column-type assumptions
(
quarb_sql::ColumnTypes::hold): every column oftables, with whether SQLite gives it a numeric affinity. A column of INTEGER, REAL or NUMERIC affinity holds numbers and compares with a numeric literal as Quarb’s scan does; a TEXT or untyped column compares by storage class ('150'is not150, and any text is greater than any number), which the scan’s comparison by value is not. - raw_
query