pub struct UpdateQuery<T: Table, O = ()> { /* private fields */ }Implementations§
Source§impl<T: Table, O> UpdateQuery<T, O>
impl<T: Table, O> UpdateQuery<T, O>
pub fn set<V>(self, column: Column<T, V>, value: impl IntoSqlValue<V>) -> Self
pub fn filter(self, expression: Expression) -> Self
pub fn returning<S: Selection>(self, selection: S) -> UpdateQuery<T, S::Output>
Trait Implementations§
Source§impl<T: Clone + Table, O: Clone> Clone for UpdateQuery<T, O>
impl<T: Clone + Table, O: Clone> Clone for UpdateQuery<T, O>
Source§fn clone(&self) -> UpdateQuery<T, O>
fn clone(&self) -> UpdateQuery<T, O>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<T, O> Freeze for UpdateQuery<T, O>
impl<T, O> RefUnwindSafe for UpdateQuery<T, O>
impl<T, O> Send for UpdateQuery<T, O>
impl<T, O> Sync for UpdateQuery<T, O>
impl<T, O> Unpin for UpdateQuery<T, O>
impl<T, O> UnsafeUnpin for UpdateQuery<T, O>
impl<T, O> UnwindSafe for UpdateQuery<T, O>
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