Enum rorm_sql::update::UpdateImpl
source · pub enum UpdateImpl<'until_build, 'post_build> {
SQLite(UpdateData<'until_build, 'post_build>),
MySQL(UpdateData<'until_build, 'post_build>),
Postgres(UpdateData<'until_build, 'post_build>),
}
Expand description
Implementation of the Update trait for the different implementations.
Should only be constructed via DBImpl::update.
Variants
SQLite(UpdateData<'until_build, 'post_build>)
SQLite representation of the UPDATE operation.
MySQL(UpdateData<'until_build, 'post_build>)
MySQL representation of the UPDATE operation.
Postgres(UpdateData<'until_build, 'post_build>)
Postgres representation of the UPDATE operation.
Trait Implementations
sourceimpl<'until_build, 'post_build> Debug for UpdateImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> Debug for UpdateImpl<'until_build, 'post_build>
sourceimpl<'until_build, 'post_build> Update<'until_build, 'post_build> for UpdateImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> Update<'until_build, 'post_build> for UpdateImpl<'until_build, 'post_build>
sourcefn rollback_transaction(self) -> Self
fn rollback_transaction(self) -> Self
Turns on ROLLBACK mode. Read more
sourcefn where_clause(self, condition: &'until_build Condition<'post_build>) -> Self
fn where_clause(self, condition: &'until_build Condition<'post_build>) -> Self
sourcefn add_update(
self,
column_name: &'until_build str,
column_value: Value<'post_build>
) -> Self
fn add_update(
self,
column_name: &'until_build str,
column_value: Value<'post_build>
) -> Self
Add an update Read more
Auto Trait Implementations
impl<'until_build, 'post_build> RefUnwindSafe for UpdateImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> Send for UpdateImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> Sync for UpdateImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> Unpin for UpdateImpl<'until_build, 'post_build>where
'post_build: 'until_build,
impl<'until_build, 'post_build> UnwindSafe for UpdateImpl<'until_build, 'post_build>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more