lib/command/database/hash/hscan.js
function execute(req, res) {
  //console.dir(req.args);
  var hmap = req.db.getKey(req.args[0], req);
  if(hmap === undefined) {
    return res.send(null, [0, []]);
  }
  //console.dir(hmap.getKeys())
  var scanner = new Scanner(
    hmap.getKeys(),
    req.info.cursor,
    req.info.pattern,
    req.info.count,
    hmap.data);

  scanner.scan(req, res);
}
function execute(req, res) {
  //console.dir(req.args);
  var hmap = req.db.getKey(req.args[0], req);
  if(hmap === undefined) {
    return res.send(null, [0, []]);
  }
  //console.dir(hmap.getKeys())
  var scanner = new Scanner(
    hmap.getKeys(),
    req.info.cursor,
    req.info.pattern,
    req.info.count,
    hmap.data);

  scanner.scan(req, res);
}
function execute ( req , res ) { //console.dir(req.args); var hmap = req . db . getKey ( req . args [ 0 ] , req ) ; if ( hmap === undefined ) { return res . send ( null , [ 0 , [ ] ] ) ; } //console.dir(hmap.getKeys()) var scanner = new Scanner ( hmap . getKeys ( ) , req . info . cursor , req . info . pattern , req . info . count , hmap . data ) ; scanner . scan ( req , res ) ; }
Respond to the HSCAN command.
Respond to the HSCAN command .