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>)
Available on crate feature
sqlite only.SQLite representation of the UPDATE operation.
MySQL(UpdateData<'until_build, 'post_build>)
Available on crate feature
mysql only.MySQL representation of the UPDATE operation.
Postgres(UpdateData<'until_build, 'post_build>)
Available on crate feature
postgres only.Postgres representation of the UPDATE operation.
Trait Implementations§
source§impl<'until_build, 'post_build> Debug for UpdateImpl<'until_build, 'post_build>
impl<'until_build, 'post_build> Debug for UpdateImpl<'until_build, 'post_build>
source§impl<'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>
source§fn rollback_transaction(self) -> Self
fn rollback_transaction(self) -> Self
Turns on ROLLBACK mode. Read more
source§fn where_clause(self, condition: &'until_build Condition<'post_build>) -> Self
fn where_clause(self, condition: &'until_build Condition<'post_build>) -> Self
Adds a Condition to the update query.
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>
impl<'until_build, 'post_build> UnwindSafe for UpdateImpl<'until_build, 'post_build>
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