SSCAN
Iterates through set members with a cursor.
Sets · Example verified
Syntax covered here
SSCAN key cursorThe single-member case starts at cursor 0 and finishes in one batch.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> SADD team a
1
# connection: default
> SSCAN team 0
["0",["a"]]