Trait barrel::connectors::SqlRunner
source · pub trait SqlRunner {
// Required method
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§
Object Safety§
This trait is not object safe.