SMEMBERS

SMEMBERS

SMEMBERS key
Available since
1.0.0
Time complexity
O(N) where N is the set cardinality.
ACL categories
@read, @set, @slow

Returns all the members of the set value stored at key.

This has the same effect as running SINTER with one argument key.

Examples #

SADD myset "Hello"
SADD myset "World"
SMEMBERS myset

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.