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