lib/command/string.js
function getset(key, value, req) {
  var val = this.getKey(key, req);
  this.setKey(key, value, undefined, undefined, undefined, req);
  return val || null;
}
function getset(key, value, req) {
  var val = this.getKey(key, req);
  this.setKey(key, value, undefined, undefined, undefined, req);
  return val || null;
}
function getset ( key , value , req ) { var val = this . getKey ( key , req ) ; this . setKey ( key , value , undefined , undefined , undefined , req ) ; return val || null ; }
Set a key to value and retrieve the old value.
Set a key to value and retrieve the old value .