ZSCAN

ZSCAN

ZSCAN key cursor [MATCH] [COUNT]
Available since
2.8.0
Time complexity
O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.
ACL categories
@read, @sortedset, @slow
See SCAN for ZSCAN documentation.

Redict logo courtesy of @janWilejan, CC-BY-SA-4.0. Download SVG ⤑

Portions of this website courtesy of Salvatore Sanfilippo, CC-BY-SA-4.0.