Skip to main content

expr_contains_parameter

Function expr_contains_parameter 

Source
pub fn expr_contains_parameter(expr: &Expr) -> bool
Expand description

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.

The implementation moved with the parser family into reddb-io-rql (#1103, ADR 0053) — it is pure Expr-tree walking and depends only on the AST that already lives in the crate. This re-export keeps the historical storage::query::user_params::expr_contains_parameter path resolving for the binder’s call-sites. 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.