Function create_db_pool

Source
pub async fn create_db_pool(
    database_url: Option<String>,
) -> Result<Pool<Postgres>, Error>
Expand description

Setup the application with the given database pool.