Skip to main content

Module sql_adapter

Module sql_adapter 

Source
Expand description

Registry-driven lowering from validated SQL statements to shared query plans.

Structs§

SqlAdapterError
Fail-closed SQL adapter error.
SqlDialectProfile
A registered SQL vendor profile.
SqlRelationMapping
One explicit SQL relation and field mapping.
SqlSchemaRegistry
Explicit, fail-closed schema registry used by SQL lowering.

Enums§

SqlAdapterErrorKind
Error category for fail-closed SQL lowering.

Constants§

SQL_DIALECT_PROFILES
SQL profiles whose common subset is normalized by the built-in adapter.

Functions§

lower_sql
Parses, validates, and lowers exactly one SQL statement and its provenance.
lower_sql_cst
Lowers one complete, clean SQL CST into the shared executable IR.