[−][src]Struct postgres_parser::sys::SelectStmt
Fields
type_: NodeTag
distinctClause: *mut List
These fields are used only in "leaf" SelectStmts.
intoClause: *mut IntoClause
NULL, list of DISTINCT ON exprs, or lcons(NIL,NIL) for all (SELECT DISTINCT)
targetList: *mut List
target for SELECT INTO
fromClause: *mut List
the target list (of ResTarget)
whereClause: *mut Node
the FROM clause
groupClause: *mut List
WHERE qualification
havingClause: *mut Node
GROUP BY clauses
windowClause: *mut List
HAVING conditionalexpression
valuesLists: *mut List
In a "leaf" node representing a VALUES list, the above fields are all null, and instead this field is set. Note that the elements of the sublists are just expressions, without ResTarget decoration. Also note that a list element can be DEFAULT (represented as a SetToDefault node), regardless of the context of the VALUES list. It's up to parse analysis to reject that where not valid.
sortClause: *mut List
These fields are used in both "leaf" SelectStmts and upperlevel SelectStmts.
limitOffset: *mut Node
sort clause (a list of SortBy's)
limitCount: *mut Node
lockingClause: *mut List
withClause: *mut WithClause
FOR UPDATE (list of LockingClause's)
op: SetOperation
These fields are used only in upperlevel SelectStmts.
all: bool
type of set op
larg: *mut SelectStmt
ALL specified?
rarg: *mut SelectStmt
left child
Trait Implementations
impl Debug for SelectStmt
[src]
impl Default for SelectStmt
[src]
impl Eq for SelectStmt
[src]
impl Hash for SelectStmt
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<SelectStmt> for SelectStmt
[src]
fn eq(&self, other: &SelectStmt) -> bool
[src]
fn ne(&self, other: &SelectStmt) -> bool
[src]
impl StructuralEq for SelectStmt
[src]
impl StructuralPartialEq for SelectStmt
[src]
Auto Trait Implementations
impl RefUnwindSafe for SelectStmt
impl !Send for SelectStmt
impl !Sync for SelectStmt
impl Unpin for SelectStmt
impl UnwindSafe for SelectStmt
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,