I'm trying to execute an hdel command in node.js inside a hget block. Here's the code:
client.hget(requests[i], "client", function(err, client){
if(isUser == true){
client.hdel(requests[i], function(err){
if(err){
console.log("cannot process request");
}
});
}
});
It's not working and I can't understand why! Any help would be greatly appreciated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…