kevy

ZRANK

Return a member's rank, ordered from the lowest score.

语法ZRANK key member
分组zset
参数个数3
起始版本1.0.0
标志readonly
复杂度O(log N) — a hash lookup for the score, then one descent of the rank-augmented (score, member) tree
Redis 兼容性differs: the Redis 7.2 WITHSCORE option is not supported

← 全部命令