qbrs-sqlx 0.4.0

sqlx-based execution integration for qbrs (Postgres).
Documentation
1
2
3
4
5
6
7
//! Shared setup for real-Postgres integration tests.

pub use embedded_pg::{Db as PgGuard, shutdown};

pub async fn test_pool(_db_name: &str) -> (sqlx::PgPool, PgGuard) {
    embedded_pg::connect().await
}