Function connect

Source
pub async fn connect(db_path: &str) -> Result<Box<dyn Database>, Error>
Expand description

Connect to a database.

ยงErrors

This function will return an Error::UnrecognizedDatabaseDriver if unable to match database type.