[][src]Trait rdbc::Connection

pub trait Connection {
    fn create(&mut self, sql: &str) -> Result<Rc<RefCell<dyn Statement>>>;
fn prepare(&mut self, sql: &str) -> Result<Rc<RefCell<dyn Statement>>>; }

Represents a connection to a database

Required methods

fn create(&mut self, sql: &str) -> Result<Rc<RefCell<dyn Statement>>>

Create a statement for execution

fn prepare(&mut self, sql: &str) -> Result<Rc<RefCell<dyn Statement>>>

Create a prepared statement for execution

Loading content...

Implementors

Loading content...