Skip to main content

connect

Function connect 

Source
pub async fn connect(database_url: &str) -> Result<PgPool, Error>
Expand description

Connects to the database, creating it if needed, and applies migrations.