stringqb/src/drivers/postgres.rs

18 lines
329 B
Rust
Raw Normal View History

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