sqlx/src/postgres/backend.rs

14 lines
374 B
Rust

use crate::backend::Backend;
pub struct Postgres;
impl Backend for Postgres {
type QueryParameters = super::PostgresQueryParameters;
type RawConnection = super::PostgresRawConnection;
type Row = super::PostgresRow;
}
// Generates tuple impls for this backend
impl_from_sql_row_tuples_for_backend!(Postgres);
impl_into_query_parameters_for_backend!(Postgres);