pub async fn connect(models: ModelSet, config: &DatabaseConfig) -> Result<Db>Expand description
Opens a pooled handle to the database for models. Cheap to clone: clones
share the pool.
pub async fn connect(models: ModelSet, config: &DatabaseConfig) -> Result<Db>Opens a pooled handle to the database for models. Cheap to clone: clones
share the pool.