Trait barrel::connectors::DatabaseExecutor [] [src]

pub trait DatabaseExecutor {
    fn execute<S: Into<String>>(&mut self, sql: S);
}

A generic trait that frameworks using barrel can implement

An object of this trait can be given to a Migration object to automatically generate and run the given SQL string for a database connection which is wrapped by it

Required Methods

Execute the migration on a backend

Implementors