Enum sql_ast::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), ParameterizedValue(Vec<usize>), }
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)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SetExpr
impl UnwindSafe for SetExpr
Blanket Implementations
Mutably borrows from an owned value. Read more