[−][src]Struct postgres_parser::sys::OnConflictExpr
OnConflictExpr represents an ON CONFLICT DO ... expression
The optimizer requires a list of inference elements, and optionally a WHERE clause to infer a unique index. The unique index (or, occasionally, indexes) inferred are used to arbitrate whether or not the alternative ON CONFLICT path is taken.
Fields
type_: NodeTag
action: OnConflictAction
arbiterElems: *mut List
Arbiter
arbiterWhere: *mut Node
unique index arbiter list (of InferenceElem's)
constraint: Oid
unique index arbiter WHERE clause
onConflictSet: *mut List
ON CONFLICT UPDATE
onConflictWhere: *mut Node
List of ON CONFLICT SET TargetEntrys
exclRelIndex: c_int
qualifiers to restrict UPDATE to
exclRelTlist: *mut List
RT index of 'excluded' relation
Trait Implementations
impl Debug for OnConflictExpr
[src]
impl Default for OnConflictExpr
[src]
impl Eq for OnConflictExpr
[src]
impl Hash for OnConflictExpr
[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<OnConflictExpr> for OnConflictExpr
[src]
fn eq(&self, other: &OnConflictExpr) -> bool
[src]
fn ne(&self, other: &OnConflictExpr) -> bool
[src]
impl StructuralEq for OnConflictExpr
[src]
impl StructuralPartialEq for OnConflictExpr
[src]
Auto Trait Implementations
impl RefUnwindSafe for OnConflictExpr
impl !Send for OnConflictExpr
impl !Sync for OnConflictExpr
impl Unpin for OnConflictExpr
impl UnwindSafe for OnConflictExpr
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>,