green_copper_runtime::modules::db::mysql::connection

Function get_con_pool_wrapper

source
pub fn get_con_pool_wrapper(
    user: &str,
    pass: &str,
    host: &str,
    port: u16,
    db_opt: Option<&str>,
) -> Result<PoolWrapper, JsError>
Expand description

This is a cached function that uses the GET_CON_POOL_WRAPPER cached static.