Merge branch 'master' of github.com:dunwu/db-tutorial

dependabot/maven/codes/redis/redis-in-action/com.google.code.gson-gson-2.8.9
dunwu 2022-04-13 17:28:48 +08:00
commit 02ac223c9e
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ 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` 进行排序,然后返回或存储排序的结果。 |
示例: