ZSCAN
Iterate a sorted set's members and scores (single-batch cursor).
ZSCAN key cursor [MATCH pattern] [COUNT count]
Complexity
O(N) — the whole set is materialised
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Differs
not a cursor iterator — every call returns the whole set with cursor 0, and COUNT is parsed then ignored
See also
BZPOPMINZADDZCARDZCOUNTZDIFFSTOREZINCRBYZINTERCARDZINTERSTOREZPOPMINZPOPMIN.BELOWZRANGEZRANGEBYSCOREZRANKZREMZREMRANGEBYRANKZREMRANGEBYSCOREZREVRANGEBYSCOREZSCOREZUNIONSTORE