mirror of https://github.com/dunwu/db-tutorial.git
Merge branch 'master' of github.com:dunwu/db-tutorial
commit
02ac223c9e
|
@ -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` 进行排序,然后返回或存储排序的结果。 |
|
||||
|
||||
示例:
|
||||
|
|
Loading…
Reference in New Issue