2019-04-02 16:35:52 -04:00
|
|
|
use super::*;
|
|
|
|
|
|
|
|
#[derive(Debug)]
|
|
|
|
pub struct Postgres;
|
|
|
|
|
|
|
|
#[cfg(feature="pg")]
|
|
|
|
impl DatabaseDriver for Postgres {
|
2019-04-03 16:29:51 -04:00
|
|
|
fn quote_identifier(&self, identifier: &str) -> String {
|
|
|
|
String::from(identifier)
|
|
|
|
}
|
|
|
|
|
2019-04-02 16:35:52 -04:00
|
|
|
fn query(&self, _query: &str) -> Result<(), ()> {
|
|
|
|
Ok(())
|
|
|
|
}
|
|
|
|
}
|