|
248 | 248 | Redis 的 `SORT` 命令可以对 `LIST`、`SET`、`ZSET` 进行排序。
|
249 | 249 |
|
250 | 250 | | 命令 | 描述 |
|
251 | | -| ------ | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | |
| 251 | +| ------ | --------------------------------------------------------------------------------------- | |
252 | 252 | | `SORT` | `SORT source-key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC | DESC] [ALPHA] [STORE dest-key]`—根据给定选项,对输入 `LIST`、`SET`、`ZSET` 进行排序,然后返回或存储排序的结果。 |
|
253 | 253 |
|
254 | 254 | 示例:
|
|
0 commit comments