lib/pool-manager.js
function initPool(name, config){
    // new pool
    const pool = _mysql.createPool(config);

    // create pool wrapper
    _pools[name || '_default'] = {
        _instance: pool,
        getConnection: function(scope){
            return _poolConnection.getConnection(pool, scope);
        }
    }
}
function initPool(name, config){
    // new pool
    const pool = _mysql.createPool(config);

    // create pool wrapper
    _pools[name || '_default'] = {
        _instance: pool,
        getConnection: function(scope){
            return _poolConnection.getConnection(pool, scope);
        }
    }
}
function initPool ( name , config ) { // new pool const pool = _mysql . createPool ( config ) ; // create pool wrapper _pools [ name || '_default' ] = { _instance : pool , getConnection : function ( scope ) { return _poolConnection . getConnection ( pool , scope ) ; } } }
create new pool
create new pool