sorting - Resetting Redis sorted set -


i m using redis server sort scores in online game.

the gameplay divided play sequence of 2-3 minutes , after each sequences scores displayed , user rank (zadd, zrevrank)

all ok this, how can reset sorted set after play sequence ? found zrem looks have specify keys. there quick way remove values sorted set ?

couldn't use

del setname 

to delete set?


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

ruby - Nesting modules inside of a Rails eninge gem -

Eclipse formatter for java ending braces -