pub trait SimpleAsyncConnection {
    fn batch_execute<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        query: &'life1 str
    ) -> Pin<Box<dyn Future<Output = QueryResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }
Expand description

Perform simple operations on a backend.

You should likely use AsyncConnection instead.

Required Methods

Execute multiple SQL statements within the same string.

This function is used to execute migrations, which may contain more than one SQL statement.

Implementors