[−][src]Struct postgres_parser::sys::RowMarkClause
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
type_: NodeTag
rti: Index
strength: LockClauseStrength
range table index of target relation
waitPolicy: LockWaitPolicy
pushedDown: bool
NOWAIT and SKIP LOCKED
Trait Implementations
impl Debug for RowMarkClause
[src]
impl Default for RowMarkClause
[src]
impl Eq for RowMarkClause
[src]
impl Hash for RowMarkClause
[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<RowMarkClause> for RowMarkClause
[src]
fn eq(&self, other: &RowMarkClause) -> bool
[src]
fn ne(&self, other: &RowMarkClause) -> bool
[src]
impl StructuralEq for RowMarkClause
[src]
impl StructuralPartialEq for RowMarkClause
[src]
Auto Trait Implementations
impl RefUnwindSafe for RowMarkClause
impl Send for RowMarkClause
impl Sync for RowMarkClause
impl Unpin for RowMarkClause
impl UnwindSafe for RowMarkClause
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>,