Trait block_tools::db::use_diesel::connection::SimpleConnection [−][src]
Perform simple operations on a backend.
You should likely use Connection
instead.
Required methods
pub fn batch_execute(&self, query: &str) -> Result<(), Error>
[src]
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 PgConnection
[src]
impl<T> SimpleConnection for PooledConnection<ConnectionManager<T>> where
T: Connection + Send + 'static,
[src]
T: Connection + Send + 'static,