From 48bdd8da1b919461ac92e02603a64a1a21a528be Mon Sep 17 00:00:00 2001 From: dunwu Date: Mon, 28 Jun 2021 08:57:58 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/nosql/redis/redis-datatype.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/nosql/redis/redis-datatype.md b/docs/nosql/redis/redis-datatype.md index b1c1b09..f7e8945 100644 --- a/docs/nosql/redis/redis-datatype.md +++ b/docs/nosql/redis/redis-datatype.md @@ -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` 进行排序,然后返回或存储排序的结果。 | 示例: