cas::db

Function setup

Source
pub async fn setup() -> Result<Client, AppError>
Expand description

Setup database connection. Get variable DATABASE_URL from the environment.