pub struct UpdateBuilder<D: Dialect> { /* private fields */ }Expand description
Builder for UPDATE queries.
Implementations§
Source§impl<D: Dialect> UpdateBuilder<D>
impl<D: Dialect> UpdateBuilder<D>
Sourcepub fn filter_expr(self, expr: FilterExpr) -> Self
pub fn filter_expr(self, expr: FilterExpr) -> Self
Set a compound filter expression (AND, OR, NOT).
Use with simple(), and(), or(), not() helpers.
Sourcepub fn build(self) -> QueryResult
pub fn build(self) -> QueryResult
Build the UPDATE query.
Trait Implementations§
Auto Trait Implementations§
impl<D> Freeze for UpdateBuilder<D>where
D: Freeze,
impl<D> RefUnwindSafe for UpdateBuilder<D>where
D: RefUnwindSafe,
impl<D> Send for UpdateBuilder<D>where
D: Send,
impl<D> Sync for UpdateBuilder<D>where
D: Sync,
impl<D> Unpin for UpdateBuilder<D>where
D: Unpin,
impl<D> UnwindSafe for UpdateBuilder<D>where
D: UnwindSafe,
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