Trait barrel::connectors::SqlRunner[][src]

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

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