backend::db::connection

Function init_pool

source
pub fn init_pool(url: &str) -> Pool
Expand description

Creates an initialized pool connecting to the database.

ยงPanics

If the pool is unable to open its minimum number of connections.