summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/mget.md
blob: 130f9358f0ec05d01b5d6babb7c06e57f8956e2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Returns the values of all specified keys. For every key that does not hold a
string value or does not exist, the special value `nil` is returned. Because of
this, the operation never fails.

@return

@array-reply: list of values at the specified keys.

@examples

```cli
SET key1 "Hello"
SET key2 "World"
MGET key1 key2 nonexisting
```