Function get_driver

Source
pub fn get_driver(db_path: &str) -> Result<Driver, Error>
Expand description

Get the Driver of the Database from the Connection String

ยงErrors

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