Remove complete hashset at once in redis -


i having hash set in redis names = "match/123/result"

i adding entries set using "hset" , retrieving entries @ time using "hgetall"

now, want flush hash set, there no command "hdelall"

so using "del" remove hash set name itself, in case fire command -

del match/123/result

could find approach remove @ once. there other solution ?

if want delete or flush 'myhash' hash.

please use command below:

redis-cli  redis> del myhash 

hope solve problem.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -