Function eva_common::db::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
pub async fn create_pool(
conn: &str,
pool_size: u32,
timeout: Duration
) -> EResult<DbPool>Creates a pool to use it without the module