Struct diesel::connection::AnsiTransactionManager[][src]

pub struct AnsiTransactionManager { /* fields omitted */ }

An implementation of TransactionManager which can be used for backends which use ANSI standard syntax for savepoints such as SQLite and PostgreSQL.

Methods

impl AnsiTransactionManager
[src]

Create a new transaction manager

Begin a transaction with custom SQL

This is used by connections to implement more complex transaction APIs to set things such as isolation levels. Returns an error if already inside of a transaction.

Trait Implementations

impl Default for AnsiTransactionManager
[src]

Returns the "default value" for a type. Read more

impl<Conn> TransactionManager<Conn> for AnsiTransactionManager where
    Conn: Connection,
    Conn::Backend: UsesAnsiSavepointSyntax
[src]

Begin a new transaction or savepoint Read more

Rollback the inner-most transaction or savepoint Read more

Commit the inner-most transaction or savepoint Read more

Fetch the current transaction depth Read more

Auto Trait Implementations

impl Send for AnsiTransactionManager

impl !Sync for AnsiTransactionManager