redis zset Introduction

Key = $ 'Key'; 

// add 
zadd ($ key, scores, identity) 
// remove a logo zrem ($ key, identification)
// a ranking queries identified (starting from 0 in the output of all to add a time) zrevrank ($ Key, identification)
// take current identity score zscore ($ key, identification)
// all ranked in descending zrevrange ($ Key, 0, -1)
// increment the specified identifier scores zIncrBy ($ key, number, logo)
// determine whether there is a key zcard ($ key)

  

Guess you like

Origin www.cnblogs.com/langgezuishuai/p/10930470.html