lib/command/database/key/dump.js
function execute(req, res) {
  var value = req.db.getKey(req.args[0], req);
  if(value === undefined) return res.send(null, null);
  var buf = dump(
    {value: value}, value.rtype || Constants.TYPE_NAMES.STRING, null);
  res.send(null, buf);
}
function execute(req, res) {
  var value = req.db.getKey(req.args[0], req);
  if(value === undefined) return res.send(null, null);
  var buf = dump(
    {value: value}, value.rtype || Constants.TYPE_NAMES.STRING, null);
  res.send(null, buf);
}
function execute ( req , res ) { var value = req . db . getKey ( req . args [ 0 ] , req ) ; if ( value === undefined ) return res . send ( null , null ) ; var buf = dump ( { value : value } , value . rtype || Constants . TYPE_NAMES . STRING , null ) ; res . send ( null , buf ) ; }
Respond to the DUMP command.
Respond to the DUMP command .