Skip to main content

Module expr

Module expr 

Source
Expand description

SqlExpr AST, on-wire codec, and row-scope evaluator.

This module is the canonical expression type shared between the planner, the Data Plane executor, the UPDATE assignment path, and the WHERE scan filter. It is also the payload carried through msgpack-encoded physical plans, so the zerompk codec must stay in lockstep with the AST variants.

Re-exports§

pub use types::BinaryOp;
pub use types::CastType;
pub use types::ComputedColumn;
pub use types::SqlExpr;

Modules§

binary
Binary-operator evaluation on Value operands.
codec
Manual zerompk wire format for SqlExpr.
eval
Row-scope evaluator for SqlExpr.
types
SqlExpr AST node definitions.