Enum models_parser::ast::SetExpr [−][src]
pub enum SetExpr {
Select(Box<Select>),
Query(Box<Query>),
SetOperation {
op: SetOperator,
all: bool,
left: Box<SetExpr>,
right: Box<SetExpr>,
},
Values(Values),
Insert(Statement),
}
Expand description
A node in a tree, representing a “query body” expression, roughly:
SELECT ... [ {UNION|EXCEPT|INTERSECT} SELECT ...]
Variants
Restricted SELECT .. FROM .. HAVING (no ORDER BY or set operations)
Parenthesized SELECT subquery, which may include more set operations in its body and an optional ORDER BY / LIMIT.
UNION/EXCEPT/INTERSECT of two queries
Values(Values)
Tuple Fields of Values
0: Values
Insert(Statement)
Tuple Fields of Insert
0: Statement
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SetExpr
impl UnwindSafe for SetExpr
Blanket Implementations
Mutably borrows from an owned value. Read more