Skip to main content

Module dialect

Module dialect 

Source
Expand description

Dialect trait — token-level SQL emission for PostgreSQL JSONB and SQLite JSON1.

The compiler builds dialect-independent IR (PlanNode and SqlExpr); the emitter walks the IR and asks the dialect for each concrete SQL token. Keeping these helpers behind a trait confines per-dialect divergence (operator syntax, parameter form, JSON function names) to two small implementations.

Structs§

PgDialect
PostgreSQL JSONB dialect.
SqliteDialect
SQLite JSON1 dialect.

Traits§

Dialect
Per-dialect SQL emission helpers.