Struct diesel::mysql::MysqlConnection [] [src]

pub struct MysqlConnection { /* fields omitted */ }

A connection to a MySQL database. Connection URLs should be in the form mysql://[user[:password]@]host/database_name

Trait Implementations

impl Send for MysqlConnection
[src]

impl SimpleConnection for MysqlConnection
[src]

[src]

Execute multiple SQL statements within the same string. Read more

impl Connection for MysqlConnection
[src]

The backend this type connects to

[src]

Establishes a new connection to the database Read more

[src]

Executes the given function inside of a database 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 error. Read more

Auto Trait Implementations

impl !Sync for MysqlConnection