Sorted Set
ZSCAN
Scan a sorted set
Return a paginated list of members and their scores of an ordered set matching a pattern.
Arguments
key
str
requiredThe key of the sorted set.
cursor
int
requiredThe cursor, use 0
in the beginning and then use the returned cursor for subsequent calls.
match
str
Glob-style pattern to filter by members.
count
int
Number of members to return per call.
Response
The new cursor and keys as a tuple.
If the new cursor is 0
the iteration is complete.