See SCAN for ZSCAN documentation.
ZSCAN
Iterates over members and scores of a sorted set.
Replies
RESP2
Array reply: a two-element array.
- The first element is a Bulk string reply that represents an unsigned 64-bit number, the cursor.
- The second element is an Array reply of member/score pairs that were scanned. When
NOSCORESoption is on, a list of members from the sorted set.
RESP3
Array reply: a two-element array.
- The first element is a Bulk string reply that represents an unsigned 64-bit number, the cursor.
- The second element is an Array reply of member/score pairs that were scanned. When
NOSCORESoption is on, a list of members from the sorted set.
History
- 8.0.0: Added noscores option.