SMEMBERS
SMEMBERS key
@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.
Array reply: all elements of the set.
SADD myset "Hello" SADD myset "World" SMEMBERS myset
© 2006–2022 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/smembers/