Skip to main content

Module sql_lowering

Module sql_lowering 

Source
Expand description

Filter ⇄ Expr lowering — re-export shim.

The lowering helpers (filter_to_expr, expr_to_filter, projection_to_*, the effective_* accessors, …) moved into the reddb-io-rql crate alongside the canonical SQL AST they operate on (#1113, ADR 0053): they depend only on the AST plus reddb-io-types, so they belong in the same dependency-closed cluster. This shim preserves the historical crate::storage::query::sql_lowering::* import path so every parser, planner, and runtime call-site keeps resolving unchanged.

Constants§

PARAMETER_PROJECTION_PREFIX

Functions§

boolean_expr_projection
case_condition_projection
effective_delete_filter
effective_graph_filter
effective_graph_projections
effective_insert_rows
effective_join_filter
effective_join_projections
effective_path_filter
effective_path_projections
effective_table_filter
effective_table_group_by_exprs
effective_table_having_filter
effective_table_projections
effective_update_filter
effective_vector_filter
expr_contains_parameter
Recursively check whether expr contains any Expr::Parameter node. Used by the INSERT parser to know when to defer literal folding to the user_params binder.
expr_to_filter
expr_to_projection
filter_to_expr
fold_expr_to_value
projection_from_literal
projection_to_expr
projection_to_select_item
select_item_to_projection