[][src]Struct postgres_parser::nodes::RowMarkClause

pub struct RowMarkClause {
    pub rti: Index,
    pub strength: LockClauseStrength,
    pub waitPolicy: LockWaitPolicy,
    pub pushedDown: bool,
}

RowMarkClause parser output representation of FOR [KEY] UPDATE/SHARE clauses

Query.rowMarks contains a separate RowMarkClause node for each relation identified as a FOR [KEY] UPDATE/SHARE target. If one of these clauses is applied to a subquery, we generate RowMarkClauses for all normal and subquery rels in the subquery, but they are marked pushedDown = true to distinguish them from clauses that were explicitly written at this query level. Also, Query.hasForUpdate tells whether there were explicit FOR UPDATE/SHARE/KEY SHARE clauses in the current query level.

Fields

rti: Indexstrength: LockClauseStrengthwaitPolicy: LockWaitPolicypushedDown: bool

Trait Implementations

impl Debug for RowMarkClause[src]

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

impl Eq for RowMarkClause[src]

impl PartialEq<RowMarkClause> for RowMarkClause[src]

impl Serialize for RowMarkClause[src]

impl StructuralEq for RowMarkClause[src]

impl StructuralPartialEq for RowMarkClause[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, 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.