Skip to main content

Module sql

Module sql 

Source
Expand description

Shared SQL expressions consumed by the frontend and relational optimizer.

Syntax acceptance remains the SQL frontend’s responsibility. Keeping the representation here lets optimizer analysis avoid depending on the parser.

Structs§

Expr
An owned SQL expression shared by predicates, projections and ordering.
SqlColumnRef
SqlIndexColumn
A column-only index DDL specification, independent of query order expressions.
SqlOrderItem
SqlSourceLocation
SqlSourceSpan
Contributing token locations supplied by the frontend, not an exact text slice. Zero locations represent expressions constructed without source information.

Enums§

ExprKind
SqlComparisonOp
SqlFunctionArgument
SqlLikeEscape
SqlNullOrder
SqlOrderDirection
SqlValue

Type Aliases§

SqlExpression
Compatibility name for the shared expression tree.
SqlPredicate
Compatibility name for expressions used in predicate positions.