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
10
11
12
13
14
//! Bb8-backed `SQLite` typestate API.
//! Provides `SqliteTypedConnection<Idle>` / `SqliteTypedConnection<InTx>` using an owned
//! pooled `SQLite` connection with explicit BEGIN/COMMIT/ROLLBACK.

mod core;
mod dml;
mod prepared;
mod select;
mod tx;

pub use core::{Idle, InTx, SqliteTypedConnection};
pub use dml::dml;
pub use select::select;
pub use tx::set_skip_drop_rollback_for_tests;