lib/command/string.js
function mset() {
  var args = slice.call(arguments)
    , req;

  // got a req object
  if(typeof args[args.length -1] === 'object') {
    req = args.pop();
  }

  for(var i = 0;i < args.length;i += 2) {
    this.setKey(args[i], args[i + 1], undefined, undefined, undefined, req);
  }

  return OK;
}
function mset() {
  var args = slice.call(arguments)
    , req;

  // got a req object
  if(typeof args[args.length -1] === 'object') {
    req = args.pop();
  }

  for(var i = 0;i < args.length;i += 2) {
    this.setKey(args[i], args[i + 1], undefined, undefined, undefined, req);
  }

  return OK;
}
function mset ( ) { var args = slice . call ( arguments ) , req ; // got a req object if ( typeof args [ args . length - 1 ] === 'object' ) { req = args . pop ( ) ; } for ( var i = 0 ; i < args . length ; i += 2 ) { this . setKey ( args [ i ] , args [ i + 1 ] , undefined , undefined , undefined , req ) ; } return OK ; }
Set multiple keys to multiple values.
Set multiple keys to multiple values .