Enum butane::query::BoolExpr [−][src]
pub enum BoolExpr {
Show 15 variants
True,
Eq(&'static str, Expr),
Ne(&'static str, Expr),
Lt(&'static str, Expr),
Gt(&'static str, Expr),
Le(&'static str, Expr),
Ge(&'static str, Expr),
Like(&'static str, Expr),
AllOf(Vec<BoolExpr, Global>),
And(Box<BoolExpr, Global>, Box<BoolExpr, Global>),
Or(Box<BoolExpr, Global>, Box<BoolExpr, Global>),
Not(Box<BoolExpr, Global>),
Subquery {
col: &'static str,
tbl2: Cow<'static, str>,
tbl2_col: &'static str,
expr: Box<BoolExpr, Global>,
},
In(&'static str, Vec<SqlVal, Global>),
SubqueryJoin {
col: &'static str,
tbl2: Cow<'static, str>,
col2: Column,
joins: Vec<Join, Global>,
expr: Box<BoolExpr, Global>,
},
}
Expand description
Abstract representation of a boolean expression.
Variants
Expression which is true if the value of col
is present in
the set of values of tbl2_col
where expr
evaluated on a row
in tbl2
is true.
Fields of Subquery
Expression which is true if the value of col
is present in
the set of values of col2
where expr
evaluated on a row
in tbl2
with the specified joins is true.
Fields of SubqueryJoin
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BoolExpr
impl UnwindSafe for BoolExpr
Blanket Implementations
Mutably borrows from an owned value. Read more