[][src]Enum postgres_parser::sys::SetOperation

#[repr(u32)]pub enum SetOperation {
    SETOP_NONE,
    SETOP_UNION,
    SETOP_INTERSECT,
    SETOP_EXCEPT,
}

Select Statement

A "simple" SELECT is represented in the output of gram.y by a single SelectStmt node; so is a VALUES construct. A query containing set operators (UNION, INTERSECT, EXCEPT) is represented by a tree of SelectStmt nodes, in which the leaf nodes are component SELECTs and the internal nodes represent UNION, INTERSECT, or EXCEPT operators. Using the same node type for both leaf and internal nodes allows gram.y to stick ORDER BY, LIMIT, etc, clause values into a SELECT statement without worrying whether it is a simple or compound SELECT.

Variants

SETOP_NONE
SETOP_UNION
SETOP_INTERSECT
SETOP_EXCEPT

Trait Implementations

impl Clone for SetOperation[src]

impl Copy for SetOperation[src]

impl Debug for SetOperation[src]

impl<'de> Deserialize<'de> for SetOperation[src]

impl Eq for SetOperation[src]

impl Hash for SetOperation[src]

impl PartialEq<SetOperation> for SetOperation[src]

impl Serialize for SetOperation[src]

impl StructuralEq for SetOperation[src]

impl StructuralPartialEq for SetOperation[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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, 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.