macro_rules! init_db_pool {
() => { ... };
}Expand description
Initializes the global database pool.
Thin wrapper over db::init_db_pool that awaits it. Call once, early in your
application (typically in main), after registering the database config block.
ยงExample
use zirv_db_sqlx::init_db_pool;
init_db_pool!();