Struct ExprAnyOp
pub struct ExprAnyOp {
pub lhs: Box<Expr>,
pub op: BinaryOp,
pub rhs: Box<Expr>,
}Expand description
lhs <op> ANY(rhs) predicate against an array-valued operand.
Evaluates to true if lhs <op> item holds for any item in rhs.
Modeled on sqlparser-rs’s AnyOp. Toasty currently lowers IN (...) to
this with BinaryOp::Eq, but the operator is carried separately so the
shape generalizes to other comparisons.
Fields§
§lhs: Box<Expr>The scalar operand on the left.
op: BinaryOpThe comparison operator applied between lhs and each element of rhs.
rhs: Box<Expr>The array-typed operand on the right (typically Expr::Arg(n) of
Type::List(elem)).
Trait Implementations§
impl StructuralPartialEq for ExprAnyOp
Auto Trait Implementations§
impl Freeze for ExprAnyOp
impl RefUnwindSafe for ExprAnyOp
impl Send for ExprAnyOp
impl Sync for ExprAnyOp
impl Unpin for ExprAnyOp
impl UnsafeUnpin for ExprAnyOp
impl UnwindSafe for ExprAnyOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more