Function create_database_pool

Source
pub async fn create_database_pool(
    database_url: &str,
) -> Result<Arc<Pool<Postgres>>, ModelError>
Expand description

Helper function to create a database pool directly with default configuration