Skip to content

Commit

Permalink
Add to json in correct sort order
Browse files Browse the repository at this point in the history
  • Loading branch information
prvyk committed Feb 5, 2025
1 parent d27699a commit 462efae
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
32 changes: 16 additions & 16 deletions libs/resources/RespCommandsDocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -7584,13 +7584,13 @@
]
},
{
"Command": "ZRANGEBYSCORE",
"Name": "ZRANGEBYSCORE",
"Summary": "Returns members in a sorted set within a range of scores.",
"Command": "ZRANGEBYLEX",
"Name": "ZRANGEBYLEX",
"Summary": "Returns the number of members in a sorted set within a lexicographical range.",
"Group": "SortedSet",
"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)).",
"DocFlags": "Deprecated",
"ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYSCORE\u0060 argument",
"ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYLEX\u0060 argument",
"Arguments": [
{
"TypeDiscriminator": "RespCommandKeyArgument",
Expand All @@ -7611,14 +7611,6 @@
"DisplayText": "max",
"Type": "Double"
},
{
"TypeDiscriminator": "RespCommandBasicArgument",
"Name": "WITHSCORES",
"DisplayText": "withscores",
"Type": "PureToken",
"Token": "WITHSCORES",
"ArgumentFlags": "Optional"
},
{
"TypeDiscriminator": "RespCommandContainerArgument",
"Name": "LIMIT",
Expand All @@ -7643,13 +7635,13 @@
]
},
{
"Command": "ZRANGEBYLEX",
"Name": "ZRANGEBYLEX",
"Summary": "Returns the number of members in a sorted set within a lexicographical range.",
"Command": "ZRANGEBYSCORE",
"Name": "ZRANGEBYSCORE",
"Summary": "Returns members in a sorted set within a range of scores.",
"Group": "SortedSet",
"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)).",
"DocFlags": "Deprecated",
"ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYLEX\u0060 argument",
"ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYSCORE\u0060 argument",
"Arguments": [
{
"TypeDiscriminator": "RespCommandKeyArgument",
Expand All @@ -7670,6 +7662,14 @@
"DisplayText": "max",
"Type": "Double"
},
{
"TypeDiscriminator": "RespCommandBasicArgument",
"Name": "WITHSCORES",
"DisplayText": "withscores",
"Type": "PureToken",
"Token": "WITHSCORES",
"ArgumentFlags": "Optional"
},
{
"TypeDiscriminator": "RespCommandContainerArgument",
"Name": "LIMIT",
Expand Down
8 changes: 4 additions & 4 deletions libs/resources/RespCommandsInfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5180,8 +5180,8 @@
]
},
{
"Command": "ZRANGEBYSCORE",
"Name": "ZRANGEBYSCORE",
"Command": "ZRANGEBYLEX",
"Name": "ZRANGEBYLEX",
"Arity": -4,
"Flags": "ReadOnly",
"FirstKey": 1,
Expand All @@ -5205,8 +5205,8 @@
]
},
{
"Command": "ZRANGEBYLEX",
"Name": "ZRANGEBYLEX",
"Command": "ZRANGEBYSCORE",
"Name": "ZRANGEBYSCORE",
"Arity": -4,
"Flags": "ReadOnly",
"FirstKey": 1,
Expand Down

0 comments on commit 462efae

Please sign in to comment.