[Solved] hdel inside hget block nodejs redis
Since you use requests[i] as a parameter, we can assume this block of code is encapsulated in a loop: perhaps you are trying to iterate on an array and executing hget/hdel for each item. In that case, there is a good chance you have been hit by the scoping rules of Javascript: requests[i] is part … Read more