pub trait Connection {
// Required methods
fn create(&mut self, sql: &str) -> Result<Rc<RefCell<dyn Statement + '_>>>;
fn prepare(&mut self, sql: &str) -> Result<Rc<RefCell<dyn Statement + '_>>>;
}
Expand description
Represents a connection to a database