(
ecx: &ExprContext,
left: &Expr<Aug>,
right: &Expr<Aug>,
)
| 4225 | } |
| 4226 | |
| 4227 | fn plan_and( |
| 4228 | ecx: &ExprContext, |
| 4229 | left: &Expr<Aug>, |
| 4230 | right: &Expr<Aug>, |
| 4231 | ) -> Result<CoercibleScalarExpr, PlanError> { |
| 4232 | let ecx = ecx.with_name("AND argument"); |
| 4233 | Ok(HirScalarExpr::variadic_and(vec![ |
| 4234 | plan_expr(&ecx, left)?.type_as(&ecx, &SqlScalarType::Bool)?, |
| 4235 | plan_expr(&ecx, right)?.type_as(&ecx, &SqlScalarType::Bool)?, |
| 4236 | ]) |
| 4237 | .into()) |
| 4238 | } |
| 4239 | |
| 4240 | fn plan_or( |
| 4241 | ecx: &ExprContext, |
no test coverage detected