MGET

Usage:
MGET key [ key ...]
Complexity:
O(N) where N is the number of keys to retrieve.
Since:
1.0.0

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.

Examples

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