summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/smembers.md
blob: 227285935251284f22c496409d202f64adaf2673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

```cli
SADD myset "Hello"
SADD myset "World"
SMEMBERS myset
```