[][src]Struct postgres_parser::nodes::FieldStore

pub struct FieldStore {
    pub arg: Option<Box<Expr>>,
    pub newvals: Option<Vec<Node>>,
    pub fieldnums: Option<Vec<Node>>,
    pub resulttype: Oid,
}

FieldStore

FieldStore represents the operation of modifying one field in a tuple value, yielding a new tuple value (the input is not touched!). Like the assign case of SubscriptingRef, this is used to implement UPDATE of a portion of a column.

resulttype is always a named composite type (not a domain). To update a composite domain value, apply CoerceToDomain to the FieldStore.

A single FieldStore can actually represent updates of several different fields. The parser only generates FieldStores with singleelement lists, but the planner will collapse multiple updates of the same base column into one FieldStore.

Fields

arg: Option<Box<Expr>>newvals: Option<Vec<Node>>fieldnums: Option<Vec<Node>>resulttype: Oid

Trait Implementations

impl Debug for FieldStore[src]

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

impl Eq for FieldStore[src]

impl PartialEq<FieldStore> for FieldStore[src]

impl Serialize for FieldStore[src]

impl StructuralEq for FieldStore[src]

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