Skip to main content

postgres

Function postgres 

Source
pub fn postgres(
    id: &str,
    name: &str,
    uri: &str,
    password_env: &str,
) -> Connection
Expand description

Convenience: a Postgres descriptor naming an env var for its secret.