Skip to main content

connection_postgresql_db

Function connection_postgresql_db 

Source
pub async fn connection_postgresql_db<I>(
    instance_name: I,
    schema: Option<DatabaseSchema>,
) -> Result<DatabaseConnection, String>
where I: AsRef<str>,