docs: 更新文档错误

pull/11/head
dunwu 2021-06-28 08:57:58 +08:00
parent e551e3019c
commit 48bdd8da1b
1 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@
127.0.0.1:6379> set hello world
OK
127.0.0.1:6379> get hello
"jack"
"world"
127.0.0.1:6379> del hello
(integer) 1
127.0.0.1:6379> get hello
@ -270,9 +270,9 @@ OK
Redis 的 `SORT` 命令可以对 `LIST`、`SET`、`ZSET` 进行排序。
| 命令 | 描述 |
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `SORT` | `SORT source-key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE dest-key]`—根据给定选项,对输入 `LIST`、`SET`、`ZSET` 进行排序,然后返回或存储排序的结果。 |
| 命令 | 描述 |
| ------ | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `SORT` | `SORT source-key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC | DESC] [ALPHA] [STORE dest-key]`—根据给定选项,对输入 `LIST`、`SET`、`ZSET` 进行排序,然后返回或存储排序的结果。 |
示例: