SMEMBERS
Attention
This page documents an earlier version. Go to the latest (v2.3) version.Synopsis
SMEMBERS key
This command selects all members of the set that is associated with the given key
.
Return value
Returns all members of the given set.
Examples
$ SADD yuga_world "Africa"
1
$ SADD yuga_world "America"
1
$ SMEMBERS yuga_world
1) "Africa"
2) "America"