Skip to main content

column_catalog

Function column_catalog 

Source
pub fn column_catalog(
    path: &Path,
    tables: &[&str],
) -> Result<Vec<(String, bool)>, SqliteError>
Expand description

The catalog for a pushed plan’s column-type assumptions (quarb_sql::ColumnTypes::hold): every column of tables, 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 not 150, and any text is greater than any number), which the scan’s comparison by value is not.