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.
(ecx: &ExprContext, exprs: &[E])
| 4931 | /// same order as the input. If any of the expressions fail to plan, returns an |
| 4932 | /// error instead. |
| 4933 | fn plan_exprs<E>(ecx: &ExprContext, exprs: &[E]) -> Result<Vec<CoercibleScalarExpr>, PlanError> |
| 4934 | where |
| 4935 | E: std::borrow::Borrow<Expr<Aug>>, |
| 4936 | { |
| 4937 | let mut out = vec![]; |
| 4938 | for expr in exprs { |
| 4939 | out.push(plan_expr(ecx, expr.borrow())?); |
| 4940 | } |
| 4941 | Ok(out) |
| 4942 | } |
| 4943 | |
| 4944 | /// Plans an `ARRAY` expression. |
| 4945 | fn plan_array( |
no test coverage detected