pub trait Batch {
// Required methods
fn add(&mut self, sql: String) -> &mut Self
where Self: Sized;
fn execute(&mut self) -> Result<Box<dyn SQLResult>>;
}
Expand description
A collection of statements that are executed in a batch for performance reasons.