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

Method binop

src/sql-parser/src/ast/defs/expr.rs:990–996  ·  view source on GitHub ↗
(self, op: Op, right: Expr<T>)

Source from the content-addressed store, hash-verified

988 }
989
990 pub fn binop(self, op: Op, right: Expr<T>) -> Expr<T> {
991 Expr::Op {
992 op,
993 expr1: Box::new(self),
994 expr2: Some(Box::new(right)),
995 }
996 }
997
998 pub fn lt(self, right: Expr<T>) -> Expr<T> {
999 self.binop(Op::bare("<"), right)

Callers 11

ltMethod · 0.80
lt_eqMethod · 0.80
gtMethod · 0.80
gt_eqMethod · 0.80
equalsMethod · 0.80
not_equalsMethod · 0.80
minusMethod · 0.80
multiplyMethod · 0.80
moduloMethod · 0.80
divideMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected