Function pocket_relay_database::connect
source · pub async fn connect(ty: DatabaseType) -> DatabaseConnection
Expand description
Connects to the database returning a Database connection which allows accessing the database without accessing sea_orm
ty
The type of database to connect to