MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / plan_not

Function plan_not

src/sql/src/plan/query.rs:4219–4225  ·  view source on GitHub ↗
(ecx: &ExprContext, expr: &Expr<Aug>)

Source from the content-addressed store, hash-verified

4217}
4218
4219fn plan_not(ecx: &ExprContext, expr: &Expr<Aug>) -> Result<CoercibleScalarExpr, PlanError> {
4220 let ecx = ecx.with_name("NOT argument");
4221 Ok(plan_expr(&ecx, expr)?
4222 .type_as(&ecx, &SqlScalarType::Bool)?
4223 .call_unary(UnaryFunc::Not(expr_func::Not))
4224 .into())
4225}
4226
4227fn plan_and(
4228 ecx: &ExprContext,

Callers 1

plan_expr_innerFunction · 0.85

Calls 4

plan_exprFunction · 0.85
type_asMethod · 0.80
with_nameMethod · 0.45
call_unaryMethod · 0.45

Tested by

no test coverage detected