stringqb/src/drivers/sqlite.rs

18 lines
318 B
Rust
Raw Normal View History

2019-04-09 18:55:53 -04:00
//! Database Driver for SQLite
//!
//! Contains database-specific query data
2019-04-03 16:29:51 -04:00
use super::*;
2019-04-09 18:55:53 -04:00
/// The struct implementing the `DatabaseDriver` trait
2019-04-03 16:29:51 -04:00
#[derive(Debug)]
2019-04-02 16:35:52 -04:00
pub struct SQLite;
2019-04-09 14:13:37 -04:00
impl SQLite {
2019-04-10 14:03:28 -04:00
/// Create an SQLite driver
2019-04-09 14:13:37 -04:00
pub fn new() -> Self {
SQLite {}
2019-04-02 16:35:52 -04:00
}
2019-04-04 16:39:05 -04:00
}
2019-04-09 14:13:37 -04:00
impl DatabaseDriver for SQLite {}