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