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§
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.