pub trait ConnectionTrait {
    fn execute<S>(&self, stmt: S) -> Result<ExecResult>
    where
        S: StatementInput
; fn query<S>(&self, stmt: S) -> Result<QueryResult>
    where
        S: StatementInput
; fn show_table(&self, table_name: &str) -> Result<QueryResult>; fn begin(&self) -> Result<()>; fn finish(&self) -> Result<()>; fn commit(&self) -> Result<()>; fn rollback(&self) -> Result<()>; }

Required Methods

Execute a [Statement] INSETT,UPDATE,DELETE

Execute a [Statement] and return a collection Vec<QueryResult> on success

Implementors