lib/command/zset.js
function zrem(key /* member-1, member-N, req */) {
  var args = slice.call(arguments, 1)
    , req = typeof args[args.length-1] === 'object' ? args.pop() : null
    , val = this.getKey(key, req);
  if(val === undefined) return 0;
  var deleted = val.zrem(args);
  if(val.zcard() === 0) {
    this.delKey(key, req);
  }
  return deleted;
}
function zrem(key /* member-1, member-N, req */) {
  var args = slice.call(arguments, 1)
    , req = typeof args[args.length-1] === 'object' ? args.pop() : null
    , val = this.getKey(key, req);
  if(val === undefined) return 0;
  var deleted = val.zrem(args);
  if(val.zcard() === 0) {
    this.delKey(key, req);
  }
  return deleted;
}
function zrem ( key /* member-1, member-N, req */ ) { var args = slice . call ( arguments , 1 ) , req = typeof args [ args . length - 1 ] === 'object' ? args . pop ( ) : null , val = this . getKey ( key , req ) ; if ( val === undefined ) return 0 ; var deleted = val . zrem ( args ) ; if ( val . zcard ( ) === 0 ) { this . delKey ( key , req ) ; } return deleted ; }
Removes the specified members from the sorted set stored at key.
Removes the specified members from the sorted set stored at key .