sql-middleware 0.7.0

Lightweight async wrappers for tokio-postgres, rusqlite, turso, and tiberius.
Documentation
1
2
3
4
5
6
7
8
9
//! Trait implementations for Postgres typed connections.

use super::macros::impl_typed_backend;
use super::traits::{BeginTx, Queryable, TxConn, TypedConnOps};
use crate::SqlMiddlewareDbError;
use crate::postgres::typed::{Idle as PgIdle, InTx as PgInTx, PgConnection};
use crate::{middleware::RowValues, query_builder::QueryBuilder, results::ResultSet};

impl_typed_backend!(PgConnection, PgIdle, PgInTx);