sscan.3valkey - Man Page

Iterates over members of a set.

Synopsis

SSCAN key cursor [MATCH pattern] [COUNT count]

See SCAN for SSCAN documentation.

Reply

valkey-protocol(7) Array reply: specifically, an array with two elements:

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 @set @slow

History

See Also

sadd(3valkey), scard(3valkey), sdiff(3valkey), sdiffstore(3valkey), sinter(3valkey), sintercard(3valkey), sinterstore(3valkey), sismember(3valkey), smembers(3valkey), smismember(3valkey), smove(3valkey), spop(3valkey), srandmember(3valkey), srem(3valkey), sunion(3valkey), sunionstore(3valkey)

Info

2024-09-23 8.0.0 Valkey Command Manual