Skip to main content

pool_with_url

Function pool_with_url 

Source
pub async fn pool_with_url(url: &str, max_connections: u32) -> PgPool
Expand description

Create a connection pool with a custom database URL.