|
7584 | 7584 | ]
|
7585 | 7585 | },
|
7586 | 7586 | {
|
7587 |
| - "Command": "ZRANGEBYSCORE", |
7588 |
| - "Name": "ZRANGEBYSCORE", |
7589 |
| - "Summary": "Returns members in a sorted set within a range of scores.", |
| 7587 | + "Command": "ZRANGEBYLEX", |
| 7588 | + "Name": "ZRANGEBYLEX", |
| 7589 | + "Summary": "Returns the number of members in a sorted set within a lexicographical range.", |
7590 | 7590 | "Group": "SortedSet",
|
7591 | 7591 | "Complexity": "O(log(N)\u002BM) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)).",
|
7592 | 7592 | "DocFlags": "Deprecated",
|
7593 |
| - "ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYSCORE\u0060 argument", |
| 7593 | + "ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYLEX\u0060 argument", |
7594 | 7594 | "Arguments": [
|
7595 | 7595 | {
|
7596 | 7596 | "TypeDiscriminator": "RespCommandKeyArgument",
|
|
7611 | 7611 | "DisplayText": "max",
|
7612 | 7612 | "Type": "Double"
|
7613 | 7613 | },
|
7614 |
| - { |
7615 |
| - "TypeDiscriminator": "RespCommandBasicArgument", |
7616 |
| - "Name": "WITHSCORES", |
7617 |
| - "DisplayText": "withscores", |
7618 |
| - "Type": "PureToken", |
7619 |
| - "Token": "WITHSCORES", |
7620 |
| - "ArgumentFlags": "Optional" |
7621 |
| - }, |
7622 | 7614 | {
|
7623 | 7615 | "TypeDiscriminator": "RespCommandContainerArgument",
|
7624 | 7616 | "Name": "LIMIT",
|
|
7643 | 7635 | ]
|
7644 | 7636 | },
|
7645 | 7637 | {
|
7646 |
| - "Command": "ZRANGEBYLEX", |
7647 |
| - "Name": "ZRANGEBYLEX", |
7648 |
| - "Summary": "Returns the number of members in a sorted set within a lexicographical range.", |
| 7638 | + "Command": "ZRANGEBYSCORE", |
| 7639 | + "Name": "ZRANGEBYSCORE", |
| 7640 | + "Summary": "Returns members in a sorted set within a range of scores.", |
7649 | 7641 | "Group": "SortedSet",
|
7650 | 7642 | "Complexity": "O(log(N)\u002BM) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)).",
|
7651 | 7643 | "DocFlags": "Deprecated",
|
7652 |
| - "ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYLEX\u0060 argument", |
| 7644 | + "ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYSCORE\u0060 argument", |
7653 | 7645 | "Arguments": [
|
7654 | 7646 | {
|
7655 | 7647 | "TypeDiscriminator": "RespCommandKeyArgument",
|
|
7670 | 7662 | "DisplayText": "max",
|
7671 | 7663 | "Type": "Double"
|
7672 | 7664 | },
|
| 7665 | + { |
| 7666 | + "TypeDiscriminator": "RespCommandBasicArgument", |
| 7667 | + "Name": "WITHSCORES", |
| 7668 | + "DisplayText": "withscores", |
| 7669 | + "Type": "PureToken", |
| 7670 | + "Token": "WITHSCORES", |
| 7671 | + "ArgumentFlags": "Optional" |
| 7672 | + }, |
7673 | 7673 | {
|
7674 | 7674 | "TypeDiscriminator": "RespCommandContainerArgument",
|
7675 | 7675 | "Name": "LIMIT",
|
|
0 commit comments