Struct sea_orm::Transaction [−][src]
pub struct Transaction { /* fields omitted */ }
Expand description
Defines a database transaction as it holds a Vec<Statement>
Implementations
pub fn from_sql_and_values<I>(
db_backend: DbBackend,
sql: &str,
values: I
) -> Self where
I: IntoIterator<Item = Value>,
pub fn from_sql_and_values<I>(
db_backend: DbBackend,
sql: &str,
values: I
) -> Self where
I: IntoIterator<Item = Value>,
Get the Values from s raw SQL statement depending on the DatabaseBackend
Create a Transaction with many statements
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl UnwindSafe for Transaction
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more