tank-sqlite 0.32.0

SQLite driver implementation for Tank: the Rust data layer
Documentation
use crate::{SQLiteConnection, SQLitePrepared, SQLiteTransaction, sql_writer::SQLiteSqlWriter};
use tank_core::Driver;

/// SQLite driver.
#[derive(Default, Debug)]
pub struct SQLiteDriver {}
impl SQLiteDriver {
    pub const fn new() -> Self {
        Self {}
    }
}

impl Driver for SQLiteDriver {
    type Connection = SQLiteConnection;
    type SqlWriter = SQLiteSqlWriter;
    type Prepared = SQLitePrepared;
    type Transaction<'c> = SQLiteTransaction<'c>;

    const NAME: &'static [&'static str] = &["sqlite"];
    fn sql_writer(&self) -> SQLiteSqlWriter {
        SQLiteSqlWriter {}
    }
}