[][src]Enum sqlparser::ast::SetExpr

pub enum SetExpr {
    Select(Box<Select>),
    Query(Box<Query>),
    SetOperation {
        op: SetOperator,
        all: bool,
        left: Box<SetExpr>,
        right: Box<SetExpr>,
    },
    Values(Values),
}

A node in a tree, representing a "query body" expression, roughly: SELECT ... [ {UNION|EXCEPT|INTERSECT} SELECT ...]

Variants

Select(Box<Select>)

Restricted SELECT .. FROM .. HAVING (no ORDER BY or set operations)

Query(Box<Query>)

Parenthesized SELECT subquery, which may include more set operations in its body and an optional ORDER BY / LIMIT.

SetOperation

UNION/EXCEPT/INTERSECT of two queries

Fields of SetOperation

op: SetOperatorall: boolleft: Box<SetExpr>right: Box<SetExpr>
Values(Values)

Trait Implementations

impl Clone for SetExpr[src]

impl Debug for SetExpr[src]

impl Display for SetExpr[src]

impl Eq for SetExpr[src]

impl Hash for SetExpr[src]

impl PartialEq<SetExpr> for SetExpr[src]

impl StructuralEq for SetExpr[src]

impl StructuralPartialEq for SetExpr[src]

Auto Trait Implementations

impl RefUnwindSafe for SetExpr

impl Send for SetExpr

impl Sync for SetExpr

impl Unpin for SetExpr

impl UnwindSafe for SetExpr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.