del
删除单行数据
/**
* Delete value
* @param {String} tableName
* @param {Object} args
* {Buffer} args.hashKey required
* {Buffer} args.sortKey required
* {Number} args.timeout(ms) optional
* @param {Function} callback
* @throws{InvalidParamException} callback is not function
*/
client.del(
tableName,
args,
function(err){
// if set operation succeed, err will be null
// else err will be instance of PException
}
);
- del操作的必填参数有表名,hashKey,sortKey和callback