function createParams(params, tableSpecifiers = []) {
    // --------------
    var UAC_PARAMS = _merge({
        dbDriver: params.dbDriver,
        SCHEMAS: {},
    }, params.UAC || {});
    // --------------
    tableSpecifiers.forEach(tableSpecifier => {
        var fullTableName = tableSpecifier;
        if (UAC_PARAMS.TABLE_SPECIFIERS) {
            // Use custom-defined name
            fullTableName = UAC_PARAMS.TABLE_SPECIFIERS[tableSpecifier];
        }
        var tableNameSplit = fullTableName.split('.');
        var tableName = tableNameSplit.pop(),
            databaseName = tableNameSplit.pop();
        UAC_PARAMS.SCHEMAS[tableSpecifier] = (UAC_PARAMS.dbDriver.getSchema(databaseName) || {})[tableName];
    });
    // --------------
    return UAC_PARAMS;
}
/**
 * Helps resolve UAC params from user-supplied params.
 * Applies sensible defaults.
 * 
 * @param Object params
 * @param Array tableSpecifiers
 * 
 * @return Object
 */
Helps resolve UAC params from user-supplied params.
Applies sensible defaults.

@param Object params
@param Array tableSpecifiers

@return Object
Helps resolve UAC params from user - supplied params . Applies sensible defaults . @param Object params @param Array tableSpecifiers @return Object
function createParams(params, tableSpecifiers = []) {
    var UAC_PARAMS = _merge({
        dbDriver: params.dbDriver,
        SCHEMAS: {},
    }, params.UAC || {});
    tableSpecifiers.forEach(tableSpecifier => {
        var fullTableName = tableSpecifier;
        if (UAC_PARAMS.TABLE_SPECIFIERS) {
            fullTableName = UAC_PARAMS.TABLE_SPECIFIERS[tableSpecifier];
        }
        var tableNameSplit = fullTableName.split('.');
        var tableName = tableNameSplit.pop(),
            databaseName = tableNameSplit.pop();
        UAC_PARAMS.SCHEMAS[tableSpecifier] = (UAC_PARAMS.dbDriver.getSchema(databaseName) || {})[tableName];
    });
    return UAC_PARAMS;
}
function createParams ( params , tableSpecifiers = [ ] ) { var UAC_PARAMS = _merge ( { dbDriver : params . dbDriver , SCHEMAS : { } , } , params . UAC || { } ) ; tableSpecifiers . forEach ( tableSpecifier => { var fullTableName = tableSpecifier ; if ( UAC_PARAMS . TABLE_SPECIFIERS ) { fullTableName = UAC_PARAMS . TABLE_SPECIFIERS [ tableSpecifier ] ; } var tableNameSplit = fullTableName . split ( '.' ) ; var tableName = tableNameSplit . pop ( ) , databaseName = tableNameSplit . pop ( ) ; UAC_PARAMS . SCHEMAS [ tableSpecifier ] = ( UAC_PARAMS . dbDriver . getSchema ( databaseName ) || { } ) [ tableName ] ; } ) ; return UAC_PARAMS ; }
Helps resolve UAC params from user-supplied params.
Helps resolve UAC params from user - supplied params .
// -------------- // -------------- // Use custom-defined name // --------------