sqlx/sqlx-postgres/src/database.rs
2021-01-22 00:21:16 -08:00

16 lines
278 B
Rust

use sqlx_core::{Database, HasOutput, Runtime};
#[derive(Debug)]
pub struct Postgres;
impl<Rt> Database<Rt> for Postgres
where
Rt: Runtime,
{
type Connection = super::PostgresConnection<Rt>;
}
impl<'x> HasOutput<'x> for Postgres {
type Output = &'x mut Vec<u8>;
}