eva_common::db

Function create_pool

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

Creates a pool to use it without the module