Skip to main content

Module sql_builder

Module sql_builder 

Source
Expand description

SQL builder for SQLite queries

Converts AnkQL predicates to SQLite-compatible SQL WHERE clauses.

Structs§

SplitPredicate
Result of splitting a predicate for SQLite execution.
SqlBuilder
SQL builder for SQLite queries

Enums§

SqlGenerationError

Functions§

split_predicate_for_sqlite
Split a predicate into parts that can be pushed down to SQLite vs evaluated post-fetch.