Skip to content

Commit 48bdd8d

Browse files
committed
docs: 更新文档错误
1 parent e551e30 commit 48bdd8d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/nosql/redis/redis-datatype.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
127.0.0.1:6379> set hello world
7575
OK
7676
127.0.0.1:6379> get hello
77-
"jack"
77+
"world"
7878
127.0.0.1:6379> del hello
7979
(integer) 1
8080
127.0.0.1:6379> get hello
@@ -270,9 +270,9 @@ OK
270270

271271
Redis 的 `SORT` 命令可以对 `LIST``SET``ZSET` 进行排序。
272272

273-
| 命令 | 描述 |
274-
| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
275-
| `SORT` | `SORT source-key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE dest-key]`—根据给定选项,对输入 `LIST``SET``ZSET` 进行排序,然后返回或存储排序的结果。 |
273+
| 命令 | 描述 |
274+
| ------ | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
275+
| `SORT` | `SORT source-key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC | DESC] [ALPHA] [STORE dest-key]`—根据给定选项,对输入 `LIST``SET``ZSET` 进行排序,然后返回或存储排序的结果。 |
276276

277277
示例:
278278

0 commit comments

Comments
 (0)