1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-08-05 20:31:37 +08:00

Update redis-all.md

change type
This commit is contained in:
das.friday.night 2020-08-08 13:19:10 -07:00 committed by GitHub
parent aca3a338e6
commit f82d82b91b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,7 +151,7 @@ OK
**批量设置** : **批量设置** :
``` bash ``` bash
127.0.0.1:6379> mest key1 value1 key2 value2 # 批量设置 key-value 类型的值 127.0.0.1:6379> mset key1 value1 key2 value2 # 批量设置 key-value 类型的值
OK OK
127.0.0.1:6379> mget key1 key2 # 批量获取多个 key 对应的 value 127.0.0.1:6379> mget key1 key2 # 批量获取多个 key 对应的 value
1) "value1" 1) "value1"