[−][src]Trait diesel::connection::SimpleConnection
Perform simple operations on a backend.
You should likely use Connection
instead.
Required methods
fn batch_execute(&self, query: &str) -> QueryResult<()>
Execute multiple SQL statements within the same string.
This function is used to execute migrations, which may contain more than one SQL statement.
Implementors
impl SimpleConnection for MysqlConnection
[src]
fn batch_execute(&self, query: &str) -> QueryResult<()>
[src]
impl<T> SimpleConnection for PooledConnection<ConnectionManager<T>> where
T: Connection + Send + 'static,
[src]
T: Connection + Send + 'static,