pub fn try_make_single_connection(
    tenant: &str,
    server: &str
) -> Result<PgConnection, ConnectionError>
Expand description

Attempts to generate a single connection to the PostgreSQL RDBMS, without error checks. This could be used to perform connections and evaluate if they could actually 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).