src/query/alias.js
function commandAlias(context, name) {
    let value;
    context.alias = context.alias || {};

    value = context.last;

    name = context.valueOf(name, true);
    value = context.valueOf(value, true);

    if (context.debug) {
        log.debug('cmd alias ' + stringify(name) + ' ' + stringify(value));
    }
    context.alias[name] = value;

    return (context.last = [VALUE, value]);
}
function commandAlias(context, name) {
    let value;
    context.alias = context.alias || {};

    value = context.last;

    name = context.valueOf(name, true);
    value = context.valueOf(value, true);

    if (context.debug) {
        log.debug('cmd alias ' + stringify(name) + ' ' + stringify(value));
    }
    context.alias[name] = value;

    return (context.last = [VALUE, value]);
}
function commandAlias ( context , name ) { let value ; context . alias = context . alias || { } ; value = context . last ; name = context . valueOf ( name , true ) ; value = context . valueOf ( value , true ) ; if ( context . debug ) { log . debug ( 'cmd alias ' + stringify ( name ) + ' ' + stringify ( value ) ) ; } context . alias [ name ] = value ; return ( context . last = [ VALUE , value ] ) ; }
Stores or retrieves a value with the given name in the context
Stores or retrieves a value with the given name in the context