[][src]Struct pgx_pg_sys::Query

#[repr(C)]pub struct Query {
    pub type_: NodeTag,
    pub commandType: CmdType,
    pub querySource: QuerySource,
    pub queryId: uint64,
    pub canSetTag: bool,
    pub utilityStmt: *mut Node,
    pub resultRelation: c_int,
    pub hasAggs: bool,
    pub hasWindowFuncs: bool,
    pub hasTargetSRFs: bool,
    pub hasSubLinks: bool,
    pub hasDistinctOn: bool,
    pub hasRecursive: bool,
    pub hasModifyingCTE: bool,
    pub hasForUpdate: bool,
    pub hasRowSecurity: bool,
    pub cteList: *mut List,
    pub rtable: *mut List,
    pub jointree: *mut FromExpr,
    pub targetList: *mut List,
    pub override_: OverridingKind,
    pub onConflict: *mut OnConflictExpr,
    pub returningList: *mut List,
    pub groupClause: *mut List,
    pub groupingSets: *mut List,
    pub havingQual: *mut Node,
    pub windowClause: *mut List,
    pub distinctClause: *mut List,
    pub sortClause: *mut List,
    pub limitOffset: *mut Node,
    pub limitCount: *mut Node,
    pub limitOption: LimitOption,
    pub rowMarks: *mut List,
    pub setOperations: *mut Node,
    pub constraintDeps: *mut List,
    pub withCheckOptions: *mut List,
    pub stmt_location: c_int,
    pub stmt_len: c_int,
}

Query Tree

Fields

type_: NodeTagcommandType: CmdTypequerySource: QuerySourcequeryId: uint64canSetTag: boolutilityStmt: *mut NoderesultRelation: c_inthasAggs: boolhasWindowFuncs: boolhasTargetSRFs: boolhasSubLinks: boolhasDistinctOn: boolhasRecursive: boolhasModifyingCTE: boolhasForUpdate: boolhasRowSecurity: boolcteList: *mut Listrtable: *mut Listjointree: *mut FromExprtargetList: *mut Listoverride_: OverridingKindonConflict: *mut OnConflictExprreturningList: *mut ListgroupClause: *mut ListgroupingSets: *mut ListhavingQual: *mut NodewindowClause: *mut ListdistinctClause: *mut ListsortClause: *mut ListlimitOffset: *mut NodelimitCount: *mut NodelimitOption: LimitOptionrowMarks: *mut ListsetOperations: *mut NodeconstraintDeps: *mut ListwithCheckOptions: *mut Liststmt_location: c_intstmt_len: c_int

Trait Implementations

impl Clone for Query[src]

impl Copy for Query[src]

impl Debug for Query[src]

impl Default for Query[src]

impl Display for Query[src]

impl PgNode for Query[src]

type NodeType = Query

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> 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.