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
Post a Comment