MGET
Syntax
MGET key [key ...]
- Available since:
- 1.0.0
- Time complexity:
- O(N) where N is the number of keys to retrieve.
- ACL categories:
-
@read
,@string
,@fast
,
返回所有指定键的值。
对于每个不持有字符串值或不存在的键,将返回特殊值nil
。
因此,此操作永远不会失败。
MGET key [key ...]
@read
,
@string
,
@fast
,
返回所有指定键的值。
对于每个不持有字符串值或不存在的键,将返回特殊值nil
。
因此,此操作永远不会失败。