Function backend::db::connection::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.