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]

[src]

Create a new transaction manager

[src]

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]

[src]

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

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

[src]

Begin a new transaction or savepoint Read more

[src]

Rollback the inner-most transaction or savepoint Read more

[src]

Commit the inner-most transaction or savepoint Read more

[src]

Fetch the current transaction depth Read more

Auto Trait Implementations