[−][src]Struct postgres_parser::nodes::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
rti: Index
strength: LockClauseStrength
waitPolicy: LockWaitPolicy
pushedDown: bool
Trait Implementations
impl Debug for RowMarkClause
[src]
impl<'de> Deserialize<'de> for RowMarkClause
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for RowMarkClause
[src]
impl PartialEq<RowMarkClause> for RowMarkClause
[src]
fn eq(&self, other: &RowMarkClause) -> bool
[src]
fn ne(&self, other: &RowMarkClause) -> bool
[src]
impl Serialize for RowMarkClause
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,