1.0.1 • Published 10 years ago
redis-cmpdel v1.0.1
This package is a Redis Lua command, to be used with redis-require.
Install it with npm install redis-cmpdel
.
CMPDEL key value
Time complexity: O(1)
Removes the specified key if it holds the specified value. A key is ignored if it does not exist.
Return value
Integer reply: The number of keys that were removed.