pub enum ExprKind {
Show 14 variants
Literal {
literal: Literal,
},
ColumnRef {
table: Option<String>,
column: String,
},
BinaryOp {
left: Box<Expr>,
op: BinaryOp,
right: Box<Expr>,
},
UnaryOp {
op: UnaryOp,
operand: Box<Expr>,
},
FunctionCall {
name: String,
args: Vec<Expr>,
distinct: bool,
star: bool,
},
Between {
expr: Box<Expr>,
low: Box<Expr>,
high: Box<Expr>,
negated: bool,
},
Like {
expr: Box<Expr>,
pattern: Box<Expr>,
escape: Option<Box<Expr>>,
negated: bool,
},
InList {
expr: Box<Expr>,
list: Vec<Expr>,
negated: bool,
},
IsNull {
expr: Box<Expr>,
negated: bool,
},
VectorLiteral {
values: Vec<f64>,
},
ScalarSubquery {
subquery: Box<Statement>,
},
InSubquery {
expr: Box<Expr>,
subquery: Box<Statement>,
negated: bool,
},
Exists {
subquery: Box<Statement>,
negated: bool,
},
Quantified {
expr: Box<Expr>,
op: BinaryOp,
quantifier: Quantifier,
subquery: Box<Statement>,
},
}Variants§
Literal
ColumnRef
BinaryOp
UnaryOp
FunctionCall
Between
Like
InList
IsNull
VectorLiteral
ScalarSubquery
InSubquery
Exists
Quantified
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExprKind
impl<'de> Deserialize<'de> for ExprKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExprKind
impl RefUnwindSafe for ExprKind
impl Send for ExprKind
impl Sync for ExprKind
impl Unpin for ExprKind
impl UnsafeUnpin for ExprKind
impl UnwindSafe for ExprKind
Blanket Implementations§
impl<T> Allocation for T
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