File tree Expand file tree Collapse file tree 24 files changed +200
-132
lines changed Expand file tree Collapse file tree 24 files changed +200
-132
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,12 @@ arguments:
7474 optional : true
7575 token : SKIPME
7676 type : oneof
77+ - display_text : maxage
78+ name : maxage
79+ optional : true
80+ since : 7.4.0
81+ token : MAXAGE
82+ type : integer
7783 multiple : true
7884 name : new-format
7985 type : oneof
@@ -110,6 +116,8 @@ history:
110116 - Replaced `slave` `TYPE` with `replica`. `slave` still supported for backward compatibility.
111117- - 6.2.0
112118 - ' `LADDR` option.'
119+ - - 7.4.0
120+ - ' `MAXAGE` option.'
113121linkTitle : CLIENT KILL
114122since : 2.4.0
115123summary : Terminates open connections.
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ key_specs:
6767linkTitle : GEODIST
6868since : 3.2.0
6969summary : Returns the distance between two members of a geospatial index.
70- syntax_fmt : GEODIST key member1 member2 [m | km | ft | mi ]
71- syntax_str : member1 member2 [m | km | ft | mi ]
70+ syntax_fmt : GEODIST key member1 member2 [M | KM | FT | MI ]
71+ syntax_str : member1 member2 [M | KM | FT | MI ]
7272title : GEODIST
7373---
7474Return the distance between two members in the geospatial index represented by the sorted set.
Original file line number Diff line number Diff line change @@ -166,10 +166,10 @@ replaced_by: '[`GEOSEARCH`]({{< relref "/commands/geosearch" >}}) and [`GEOSEARC
166166since : 3.2.0
167167summary : Queries a geospatial index for members within a distance from a coordinate,
168168 optionally stores the result.
169- syntax_fmt : " GEORADIUS key longitude latitude radius <m | km | ft | mi >\n [WITHCOORD]\
169+ syntax_fmt : " GEORADIUS key longitude latitude radius <M | KM | FT | MI >\n [WITHCOORD]\
170170 \ [WITHDIST] [WITHHASH] [COUNT\_ count [ANY]] [ASC | DESC]\n [STORE\_ key | STOREDIST\_ \
171171 key]"
172- syntax_str : " longitude latitude radius <m | km | ft | mi > [WITHCOORD] [WITHDIST] [WITHHASH]\
172+ syntax_str : " longitude latitude radius <M | KM | FT | MI > [WITHCOORD] [WITHDIST] [WITHHASH]\
173173 \ [COUNT\_ count [ANY]] [ASC | DESC] [STORE\_ key | STOREDIST\_ key]"
174174title : GEORADIUS
175175---
Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ hidden: false
103103history :
104104- - 6.2.0
105105 - Added the `ANY` option for `COUNT`.
106+ - - 7.0.0
107+ - Added support for uppercase unit names.
106108key_specs :
107109- RO : true
108110 access : true
@@ -122,9 +124,9 @@ replaced_by: '[`GEOSEARCH`]({{< relref "/commands/geosearch" >}}) with the `BYRA
122124since : 3.2.10
123125summary : Returns members from a geospatial index that are within a distance from a
124126 coordinate.
125- syntax_fmt : " GEORADIUS_RO key longitude latitude radius <m | km | ft | mi >\n [WITHCOORD]\
127+ syntax_fmt : " GEORADIUS_RO key longitude latitude radius <M | KM | FT | MI >\n [WITHCOORD]\
126128 \ [WITHDIST] [WITHHASH] [COUNT\_ count [ANY]] [ASC | DESC]"
127- syntax_str : " longitude latitude radius <m | km | ft | mi > [WITHCOORD] [WITHDIST] [WITHHASH]\
129+ syntax_str : " longitude latitude radius <M | KM | FT | MI > [WITHCOORD] [WITHDIST] [WITHHASH]\
128130 \ [COUNT\_ count [ANY]] [ASC | DESC]"
129131title : GEORADIUS_RO
130132---
Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ doc_flags:
113113group : geo
114114hidden : false
115115history :
116+ - - 6.2.0
117+ - Added the `ANY` option for `COUNT`.
116118- - 7.0.0
117119 - Added support for uppercase unit names.
118120key_specs :
@@ -160,10 +162,10 @@ replaced_by: '[`GEOSEARCH`]({{< relref "/commands/geosearch" >}}) and [`GEOSEARC
160162since : 3.2.0
161163summary : Queries a geospatial index for members within a distance from a member, optionally
162164 stores the result.
163- syntax_fmt : " GEORADIUSBYMEMBER key member radius <m | km | ft | mi > [WITHCOORD]\n \
165+ syntax_fmt : " GEORADIUSBYMEMBER key member radius <M | KM | FT | MI > [WITHCOORD]\n \
164166 \ [WITHDIST] [WITHHASH] [COUNT\_ count [ANY]] [ASC | DESC] [STORE\_ key\n | STOREDIST\_ \
165167 key]"
166- syntax_str : " member radius <m | km | ft | mi > [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT\_ \
168+ syntax_str : " member radius <M | KM | FT | MI > [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT\_ \
167169 count [ANY]] [ASC | DESC] [STORE\_ key | STOREDIST\_ key]"
168170title : GEORADIUSBYMEMBER
169171---
Original file line number Diff line number Diff line change @@ -96,6 +96,11 @@ doc_flags:
9696- deprecated
9797group : geo
9898hidden : false
99+ history :
100+ - - 6.2.0
101+ - Added the `ANY` option for `COUNT`.
102+ - - 7.0.0
103+ - Added support for uppercase unit names.
99104key_specs :
100105- RO : true
101106 access : true
@@ -115,9 +120,9 @@ replaced_by: '[`GEOSEARCH`]({{< relref "/commands/geosearch" >}}) with the `BYRA
115120since : 3.2.10
116121summary : Returns members from a geospatial index that are within a distance from a
117122 member.
118- syntax_fmt : " GEORADIUSBYMEMBER_RO key member radius <m | km | ft | mi >\n [WITHCOORD]\
123+ syntax_fmt : " GEORADIUSBYMEMBER_RO key member radius <M | KM | FT | MI >\n [WITHCOORD]\
119124 \ [WITHDIST] [WITHHASH] [COUNT\_ count [ANY]] [ASC | DESC]"
120- syntax_str : " member radius <m | km | ft | mi > [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT\_ \
125+ syntax_str : " member radius <M | KM | FT | MI > [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT\_ \
121126 count [ANY]] [ASC | DESC]"
122127title : GEORADIUSBYMEMBER_RO
123128---
Original file line number Diff line number Diff line change @@ -162,10 +162,10 @@ linkTitle: GEOSEARCH
162162since : 6.2.0
163163summary : Queries a geospatial index for members inside an area of a box or a circle.
164164syntax_fmt : " GEOSEARCH key <FROMMEMBER\_ member | FROMLONLAT\_ longitude latitude>\n \
165- \ <BYRADIUS\_ radius <m | km | ft | mi > | BYBOX\_ width height <m | km |\n ft |\
166- \ mi >> [ASC | DESC] [COUNT\_ count [ANY]] [WITHCOORD] [WITHDIST]\n [WITHHASH]"
165+ \ <BYRADIUS\_ radius <M | KM | FT | MI > | BYBOX\_ width height <M | KM |\n FT |\
166+ \ MI >> [ASC | DESC] [COUNT\_ count [ANY]] [WITHCOORD] [WITHDIST]\n [WITHHASH]"
167167syntax_str : " <FROMMEMBER\_ member | FROMLONLAT\_ longitude latitude> <BYRADIUS\_ radius\
168- \ <m | km | ft | mi > | BYBOX\_ width height <m | km | ft | mi >> [ASC | DESC] [COUNT\_ \
168+ \ <M | KM | FT | MI > | BYBOX\_ width height <M | KM | FT | MI >> [ASC | DESC] [COUNT\_ \
169169 count [ANY]] [WITHCOORD] [WITHDIST] [WITHHASH]"
170170title : GEOSEARCH
171171---
Original file line number Diff line number Diff line change @@ -171,10 +171,10 @@ since: 6.2.0
171171summary : Queries a geospatial index for members inside an area of a box or a circle,
172172 optionally stores the result.
173173syntax_fmt : " GEOSEARCHSTORE destination source <FROMMEMBER\_ member |\n FROMLONLAT\_ \
174- longitude latitude> <BYRADIUS\_ radius <m | km | ft | mi >\n | BYBOX\_ width height\
175- \ <m | km | ft | mi >> [ASC | DESC] [COUNT\_ count\n [ANY]] [STOREDIST]"
174+ longitude latitude> <BYRADIUS\_ radius <M | KM | FT | MI >\n | BYBOX\_ width height\
175+ \ <M | KM | FT | MI >> [ASC | DESC] [COUNT\_ count\n [ANY]] [STOREDIST]"
176176syntax_str : " source <FROMMEMBER\_ member | FROMLONLAT\_ longitude latitude> <BYRADIUS\_ \
177- radius <m | km | ft | mi > | BYBOX\_ width height <m | km | ft | mi >> [ASC | DESC]\
177+ radius <M | KM | FT | MI > | BYBOX\_ width height <M | KM | FT | MI >> [ASC | DESC]\
178178 \ [COUNT\_ count [ANY]] [STOREDIST]"
179179title : GEOSEARCHSTORE
180180---
Original file line number Diff line number Diff line change @@ -31,14 +31,18 @@ arguments:
3131 name : condition
3232 optional : true
3333 type : oneof
34- - display_text : numfields
35- name : numfields
36- type : integer
37- - display_text : field
38- multiple : true
39- name : field
40- type : string
41- arity : -5
34+ - arguments :
35+ - display_text : numfields
36+ name : numfields
37+ type : integer
38+ - display_text : field
39+ multiple : true
40+ name : field
41+ type : string
42+ name : fields
43+ token : FIELDS
44+ type : block
45+ arity : -6
4246categories :
4347- docs
4448- develop
@@ -53,7 +57,7 @@ command_flags:
5357- write
5458- denyoom
5559- fast
56- complexity : O(N) where N is the number of arguments to the command
60+ complexity : O(N) where N is the number of specified fields
5761description : Set expiration for hash fields using relative time to expire (seconds)
5862group : hash
5963hidden : false
@@ -72,9 +76,10 @@ key_specs:
7276 update : true
7377linkTitle : HEXPIRE
7478since : 7.4.0
75- summary : Set expiration for hash fields using relative time to expire in seconds
76- syntax_fmt : " HEXPIRE key seconds [NX | XX | GT | LT] FIELDS numfields\n\ \ field [field ...]"
77- syntax_str : seconds [NX | XX | GT | LT] FIELDS numfields field [field ...]
79+ summary : Set expiry for hash field using relative time to expire (seconds)
80+ syntax_fmt : " HEXPIRE key seconds [NX | XX | GT | LT] FIELDS\_ numfields field\n [field\
81+ \ ...]"
82+ syntax_str : " seconds [NX | XX | GT | LT] FIELDS\_ numfields field [field ...]"
7883title : HEXPIRE
7984---
8085Set an expiration (TTL or time to live) on one or more fields of a given hash key. You must specify at least one field.
Original file line number Diff line number Diff line change @@ -31,14 +31,18 @@ arguments:
3131 name : condition
3232 optional : true
3333 type : oneof
34- - display_text : numfields
35- name : numfields
36- type : integer
37- - display_text : field
38- multiple : true
39- name : field
40- type : string
41- arity : -5
34+ - arguments :
35+ - display_text : numfields
36+ name : numfields
37+ type : integer
38+ - display_text : field
39+ multiple : true
40+ name : field
41+ type : string
42+ name : fields
43+ token : FIELDS
44+ type : block
45+ arity : -6
4246categories :
4347- docs
4448- develop
@@ -53,7 +57,7 @@ command_flags:
5357- write
5458- denyoom
5559- fast
56- complexity : O(N) where N is the number of arguments to the command
60+ complexity : O(N) where N is the number of specified fields
5761description : Set expiration for hash fields using an absolute Unix timestamp (seconds)
5862group : hash
5963hidden : false
@@ -72,9 +76,11 @@ key_specs:
7276 update : true
7377linkTitle : HEXPIREAT
7478since : 7.4.0
75- summary : Set expiration for hash fields using an absolute Unix timestamp in seconds
76- syntax_fmt : " HEXPIREAT key unix-time-seconds [NX | XX | GT | LT] FIELDS numfields\n\ \ field [field ...]"
77- syntax_str : unix-time-seconds [NX | XX | GT | LT] FIELDS numfields field [field ...]
79+ summary : Set expiry for hash field using an absolute Unix timestamp (seconds)
80+ syntax_fmt : " HEXPIREAT key unix-time-seconds [NX | XX | GT | LT] FIELDS\_ numfields\n \
81+ \ field [field ...]"
82+ syntax_str : " unix-time-seconds [NX | XX | GT | LT] FIELDS\_ numfields field [field\
83+ \ ...]"
7884title : HEXPIREAT
7985---
8086` HEXPIREAT ` has the same effect and semantics as [ ` HEXPIRE ` ] ({{< relref "/commands/hexpire" >}}), but instead of
You can’t perform that action at this time.
0 commit comments