eva_common::db

Function db_init

Source
pub async fn db_init(
    conn: &str,
    pool_size: u32,
    timeout: Duration,
) -> EResult<()>
Expand description

Initialize database, must be called first and only once, enables module-wide pool