pub async fn make_connection_pool(
    tenant: &str,
    server: &str,
    max_connections: u32
) -> DBPool
Expand description

Creates a connection pool to the PostgreSQL RDBMS, given a maximum number of connections, and panics if the connections could not be established.

This function needs the tenant name, which is equal to the database name, and the server endpoint for the database (e.g. localhost:5432).