pub struct UpdateBuilder {
pub q: Update,
}Expand description
See Update for field descriptions. Call build() to get a finished query
object.
Fields§
§q: UpdateImplementations§
Source§impl UpdateBuilder
impl UpdateBuilder
pub fn where_(self, v: Expr) -> Self
pub fn return_(self, v: Expr) -> Self
pub fn return_named(self, name: impl ToString, v: Expr) -> Self
pub fn return_field(self, f: &Field) -> Self
pub fn return_fields(self, f: &[&Field]) -> Self
pub fn returns_from_iter(self, f: impl Iterator<Item = Returning>) -> Self
pub fn build_migration(self) -> Update
pub fn build_query(self, name: impl ToString, res_count: QueryResCount) -> Query
pub fn build_query_named_res( self, name: impl ToString, res_count: QueryResCount, res_name: impl ToString, ) -> Query
Auto Trait Implementations§
impl Freeze for UpdateBuilder
impl !RefUnwindSafe for UpdateBuilder
impl !Send for UpdateBuilder
impl !Sync for UpdateBuilder
impl Unpin for UpdateBuilder
impl !UnwindSafe for UpdateBuilder
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