Skip to content

Commit 462efae

Browse files
author
prvyk
committed
Add to json in correct sort order
1 parent d27699a commit 462efae

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

libs/resources/RespCommandsDocs.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -7584,13 +7584,13 @@
75847584
]
75857585
},
75867586
{
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.",
75907590
"Group": "SortedSet",
75917591
"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)).",
75927592
"DocFlags": "Deprecated",
7593-
"ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYSCORE\u0060 argument",
7593+
"ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYLEX\u0060 argument",
75947594
"Arguments": [
75957595
{
75967596
"TypeDiscriminator": "RespCommandKeyArgument",
@@ -7611,14 +7611,6 @@
76117611
"DisplayText": "max",
76127612
"Type": "Double"
76137613
},
7614-
{
7615-
"TypeDiscriminator": "RespCommandBasicArgument",
7616-
"Name": "WITHSCORES",
7617-
"DisplayText": "withscores",
7618-
"Type": "PureToken",
7619-
"Token": "WITHSCORES",
7620-
"ArgumentFlags": "Optional"
7621-
},
76227614
{
76237615
"TypeDiscriminator": "RespCommandContainerArgument",
76247616
"Name": "LIMIT",
@@ -7643,13 +7635,13 @@
76437635
]
76447636
},
76457637
{
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.",
76497641
"Group": "SortedSet",
76507642
"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)).",
76517643
"DocFlags": "Deprecated",
7652-
"ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYLEX\u0060 argument",
7644+
"ReplacedBy": "\u0060ZRANGE\u0060 with the \u0060BYSCORE\u0060 argument",
76537645
"Arguments": [
76547646
{
76557647
"TypeDiscriminator": "RespCommandKeyArgument",
@@ -7670,6 +7662,14 @@
76707662
"DisplayText": "max",
76717663
"Type": "Double"
76727664
},
7665+
{
7666+
"TypeDiscriminator": "RespCommandBasicArgument",
7667+
"Name": "WITHSCORES",
7668+
"DisplayText": "withscores",
7669+
"Type": "PureToken",
7670+
"Token": "WITHSCORES",
7671+
"ArgumentFlags": "Optional"
7672+
},
76737673
{
76747674
"TypeDiscriminator": "RespCommandContainerArgument",
76757675
"Name": "LIMIT",

libs/resources/RespCommandsInfo.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -5180,8 +5180,8 @@
51805180
]
51815181
},
51825182
{
5183-
"Command": "ZRANGEBYSCORE",
5184-
"Name": "ZRANGEBYSCORE",
5183+
"Command": "ZRANGEBYLEX",
5184+
"Name": "ZRANGEBYLEX",
51855185
"Arity": -4,
51865186
"Flags": "ReadOnly",
51875187
"FirstKey": 1,
@@ -5205,8 +5205,8 @@
52055205
]
52065206
},
52075207
{
5208-
"Command": "ZRANGEBYLEX",
5209-
"Name": "ZRANGEBYLEX",
5208+
"Command": "ZRANGEBYSCORE",
5209+
"Name": "ZRANGEBYSCORE",
52105210
"Arity": -4,
52115211
"Flags": "ReadOnly",
52125212
"FirstKey": 1,

0 commit comments

Comments
 (0)