Function mz_sql::plan::query::plan_exprs

source ·
fn plan_exprs<E>(
    ecx: &ExprContext<'_>,
    exprs: &[E]
) -> Result<Vec<CoercibleScalarExpr>, PlanError>where
    E: Borrow<Expr<Aug>>,
Expand description

Plans a slice of expressions.

This function is a simple convenience function for mapping plan_expr over a slice of expressions. The planned expressions are returned in the same order as the input. If any of the expressions fail to plan, returns an error instead.