Back to Developer Roadmap

ZRANK

src/data/roadmaps/redis/content/zrank@AF_kWM4V8n5Ux06IgEVTl.md

4.0412 B
Original Source

ZRANK

ZRANK returns the rank of member in the sorted set stored at key, with the scores ordered from low to high. The rank is 0-based, which means that the member with the lowest score has rank 0. The optional WITHSCORE argument supplements the command's reply with the score of the element returned.

Learn more from the following resources: