spawn_test_pool

Function spawn_test_pool 

Source
pub async fn spawn_test_pool(
    connect_options: &PgConnectOptions,
    db_name: &str,
    max_connections: Option<u32>,
) -> Result<Pool<Postgres>, Error>
Expand description

Spawns test pool with a new database