- Usage:
SMEMBERS key
- Complexity:
- O(N) where N is the set cardinality.
- Since:
- 1.0.0
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