Commands.app

ZRANK

Sorted Sets

Get rank of member in sorted set

Examples
Common usage examples

Get rank (0-based)

ZRANK leaderboard "player1"

Get rank from highest

ZREVRANK leaderboard "player1"
Notes
  • Rank is 0-based
Related Commands
You might also find these useful