Skip to main content

postgres_adapter

Function postgres_adapter 

Source
pub async fn postgres_adapter(
    db_url: &str,
    purpose: &str,
    tls: &PostgresTlsConfig,
) -> Result<PostgresAdapter>
Expand description

The adapter behind postgres_pool, for a command that executes through the runtime rather than reading the catalogue (doctor --runtime).

ยงErrors

As postgres_pool.