Struct diesel::sqlite::SqliteConnection
sqlite
[] [src]

pub struct SqliteConnection { /* fields omitted */ }

Trait Implementations

impl Send for SqliteConnection
[src]

impl SimpleConnection for SqliteConnection
[src]

[src]

impl Connection for SqliteConnection
[src]

[src]

Establishes a new connection to the database at the given URL. The URL should be a valid connection string for a given backend. See the documentation for the specific backend for specifics. Read more

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Executes the given function inside of a database transaction. When a transaction is already occurring, savepoints will be used to emulate a nested transaction. Read more

[src]

Creates a transaction that will never be committed. This is useful for tests. Panics if called while inside of a transaction. Read more

[src]

Executes the given function inside a transaction, but does not commit it. Panics if the given function returns an Err. Read more