ZRANGEReturn members by rank range.
| Syntax | ZRANGE key start stop [WITHSCORES] |
| Group | zset |
| Arity | -4 |
| Since | 1.0.0 |
| Flags | readonly |
| Complexity | O(log N + M) — one rank descent seeks to start, then the M requested members are walked |
| Redis compatibility | differs: only the legacy 'key start stop [WITHSCORES]' form is accepted — the Redis 6.2 BYSCORE / BYLEX / REV / LIMIT arguments are a syntax error |