pub trait SqlExecutor {
type Error: Error;
// Required methods
fn sql_query_values(
&mut self,
query: &str,
) -> Result<Vec<usize>, Self::Error>;
fn sql_execute(&mut self, query: &str) -> Result<(), Self::Error>;
}
Expand description
Defines an implementation capable of executing SQL statement on a sqlite connection.
This is required so we can set up the temporary triggers and tables required to track changes.