Function butane_core::db::connect
source · pub fn connect(spec: &ConnectionSpec) -> Result<Connection>
Expand description
Connect to a database. For non-boxed connections, see individual Backend implementations.
pub fn connect(spec: &ConnectionSpec) -> Result<Connection>
Connect to a database. For non-boxed connections, see individual Backend implementations.