sqlx/src/pg/backend.rs
2019-08-20 21:42:25 -07:00

16 lines
362 B
Rust

use crate::backend::{Backend, BackendAssocRawQuery};
pub struct Pg;
impl<'q> BackendAssocRawQuery<'q, Pg> for Pg {
type RawQuery = super::PgRawQuery<'q>;
}
impl Backend for Pg {
type RawConnection = super::PgRawConnection;
type Row = super::PgRow;
}
// Generates tuple FromSqlRow impls for this backend
impl_from_sql_row_tuples_for_backend!(Pg);