SMEMBERS

redis and set | Mar 4, 2016 • Ding Jiao

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

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

@return

@array-reply: all elements of the set.

@examples

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