get
英[get] 美[ɡɛt]
vt. Get; catch; persuade; receive (punishment, etc.)
vt.& vi. Arrive, come
vi. Become; start; try to deal with; obtain benefits or wealth
n. Reproduce, cub; profit
Third person singular : gets present participle: getting past tense: got past participle: got gotten
redis MGET command syntax
Function:Return the values of all (one or more) given keys. If a key does not exist in the given key, then this key returns the special value nil. Therefore, the command never fails.
Syntax:MGET key [key ...]
Available versions:>= 1.0.0
Time complexity:O(N), N is the number of given keys.
Returns:A list containing all values for the given key.
redis MGET command example
redis> SET redis redis.com OK redis> SET mongodb mongodb.org OK redis> MGET redis mongodb 1) "redis.com" 2) "mongodb.org" redis> MGET redis mongodb mysql # 不存在的 mysql 返回 nil 1) "redis.com" 2) "mongodb.org" 3) (nil)