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.
返回值
Array reply: list of values at the specified keys.
例子
redis>
SET key1 "Hello"
OKredis> SET key2 "World"
OKredis> MGET key1 key2 nonexisting
1) "Hello" 2) "World" 3) (nil)