Function create_database_pool_with_config

Source
pub async fn create_database_pool_with_config(
    database_url: &str,
    config: &PoolConfig,
) -> Result<Arc<Pool<Postgres>>, ModelError>
Expand description

Helper function to create a database pool with custom configuration