mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-31 05:40:58 +00:00
16 lines
278 B
Rust
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>;
|
|
}
|