Struct diesel::sqlite::SqliteConnection [] [src]

pub struct SqliteConnection {
    // some fields omitted
}

Trait Implementations

impl Send for SqliteConnection

impl SimpleConnection for SqliteConnection

fn batch_execute(&self, query: &str) -> QueryResult<()>

impl Connection for SqliteConnection

type Backend = Sqlite

fn establish(database_url: &str) -> ConnectionResult<Self>

fn execute(&self, query: &str) -> QueryResult<usize>

fn query_all<T, U>(&self, source: T) -> QueryResult<Vec<U>> where T: AsQuery, T::Query: QueryFragment<Self::Backend> + QueryId, Self::Backend: HasSqlType<T::SqlType>, U: Queryable<T::SqlType, Self::Backend>

fn execute_returning_count<T>(&self, source: &T) -> QueryResult<usize> where T: QueryFragment<Self::Backend> + QueryId

fn silence_notices<F: FnOnce() -> T, T>(&self, f: F) -> T

fn begin_transaction(&self) -> QueryResult<()>

fn rollback_transaction(&self) -> QueryResult<()>

fn commit_transaction(&self) -> QueryResult<()>

fn get_transaction_depth(&self) -> i32

fn setup_helper_functions(&self)

fn transaction<T, E, F>(&self, f: F) -> TransactionResult<T, E> where F: FnOnce() -> Result<T, E>

fn begin_test_transaction(&self) -> QueryResult<()>

fn test_transaction<T, E, F>(&self, f: F) -> T where F: FnOnce() -> Result<T, E>