pub struct Update {
pub table: String,
pub assignments: Vec<(ColumnMarker, Value)>,
pub filter: Option<Expr>,
pub returning: Vec<ColumnMarker>,
}Expand description
UPDATE query AST node.
Fields§
§table: StringTable name.
assignments: Vec<(ColumnMarker, Value)>Column-value assignments (SET clause).
filter: Option<Expr>WHERE clause.
returning: Vec<ColumnMarker>Columns to return (RETURNING clause). Empty = no RETURNING.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Update
Auto Trait Implementations§
impl Freeze for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnsafeUnpin for Update
impl UnwindSafe for Update
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more