Redis MGET令
1年前 (2024-04-27)
Redis MGET 令返回一个或多个给定 key 的值。
可用版本
MGET 令可用版本:>= 1.0.0
语法
Redis MGET 令的基本语法如下:
MGET key [key ...]
返回值
返回所有 key 存储的 value 值。令演示
127.0.0.1:6379> MSET test "this is my site" site "hello www.biancheng网站站点" rel="nofollow" />