Skip to main content

create_pool

Function create_pool 

Source
pub async fn create_pool(
    config: &Config,
    max_connections: u32,
) -> Result<PgPool>
Expand description

Create a Postgres connection pool from application configuration.