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:
74
74
optional : true
75
75
token : SKIPME
76
76
type : oneof
77
+ - display_text : maxage
78
+ name : maxage
79
+ optional : true
80
+ since : 7.4.0
81
+ token : MAXAGE
82
+ type : integer
77
83
multiple : true
78
84
name : new-format
79
85
type : oneof
@@ -110,6 +116,8 @@ history:
110
116
- Replaced `slave` `TYPE` with `replica`. `slave` still supported for backward compatibility.
111
117
- - 6.2.0
112
118
- ' `LADDR` option.'
119
+ - - 7.4.0
120
+ - ' `MAXAGE` option.'
113
121
linkTitle : CLIENT KILL
114
122
since : 2.4.0
115
123
summary : Terminates open connections.
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ key_specs:
67
67
linkTitle : GEODIST
68
68
since : 3.2.0
69
69
summary : 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 ]
72
72
title : GEODIST
73
73
---
74
74
Return 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
166
166
since : 3.2.0
167
167
summary : Queries a geospatial index for members within a distance from a coordinate,
168
168
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]\
170
170
\ [WITHDIST] [WITHHASH] [COUNT\_ count [ANY]] [ASC | DESC]\n [STORE\_ key | STOREDIST\_ \
171
171
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]\
173
173
\ [COUNT\_ count [ANY]] [ASC | DESC] [STORE\_ key | STOREDIST\_ key]"
174
174
title : GEORADIUS
175
175
---
Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ hidden: false
103
103
history :
104
104
- - 6.2.0
105
105
- Added the `ANY` option for `COUNT`.
106
+ - - 7.0.0
107
+ - Added support for uppercase unit names.
106
108
key_specs :
107
109
- RO : true
108
110
access : true
@@ -122,9 +124,9 @@ replaced_by: '[`GEOSEARCH`]({{< relref "/commands/geosearch" >}}) with the `BYRA
122
124
since : 3.2.10
123
125
summary : Returns members from a geospatial index that are within a distance from a
124
126
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]\
126
128
\ [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]\
128
130
\ [COUNT\_ count [ANY]] [ASC | DESC]"
129
131
title : GEORADIUS_RO
130
132
---
Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ doc_flags:
113
113
group : geo
114
114
hidden : false
115
115
history :
116
+ - - 6.2.0
117
+ - Added the `ANY` option for `COUNT`.
116
118
- - 7.0.0
117
119
- Added support for uppercase unit names.
118
120
key_specs :
@@ -160,10 +162,10 @@ replaced_by: '[`GEOSEARCH`]({{< relref "/commands/geosearch" >}}) and [`GEOSEARC
160
162
since : 3.2.0
161
163
summary : Queries a geospatial index for members within a distance from a member, optionally
162
164
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 \
164
166
\ [WITHDIST] [WITHHASH] [COUNT\_ count [ANY]] [ASC | DESC] [STORE\_ key\n | STOREDIST\_ \
165
167
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\_ \
167
169
count [ANY]] [ASC | DESC] [STORE\_ key | STOREDIST\_ key]"
168
170
title : GEORADIUSBYMEMBER
169
171
---
Original file line number Diff line number Diff line change @@ -96,6 +96,11 @@ doc_flags:
96
96
- deprecated
97
97
group : geo
98
98
hidden : 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.
99
104
key_specs :
100
105
- RO : true
101
106
access : true
@@ -115,9 +120,9 @@ replaced_by: '[`GEOSEARCH`]({{< relref "/commands/geosearch" >}}) with the `BYRA
115
120
since : 3.2.10
116
121
summary : Returns members from a geospatial index that are within a distance from a
117
122
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]\
119
124
\ [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\_ \
121
126
count [ANY]] [ASC | DESC]"
122
127
title : GEORADIUSBYMEMBER_RO
123
128
---
Original file line number Diff line number Diff line change @@ -162,10 +162,10 @@ linkTitle: GEOSEARCH
162
162
since : 6.2.0
163
163
summary : Queries a geospatial index for members inside an area of a box or a circle.
164
164
syntax_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]"
167
167
syntax_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\_ \
169
169
count [ANY]] [WITHCOORD] [WITHDIST] [WITHHASH]"
170
170
title : GEOSEARCH
171
171
---
Original file line number Diff line number Diff line change @@ -171,10 +171,10 @@ since: 6.2.0
171
171
summary : Queries a geospatial index for members inside an area of a box or a circle,
172
172
optionally stores the result.
173
173
syntax_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]"
176
176
syntax_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]\
178
178
\ [COUNT\_ count [ANY]] [STOREDIST]"
179
179
title : GEOSEARCHSTORE
180
180
---
Original file line number Diff line number Diff line change @@ -31,14 +31,18 @@ arguments:
31
31
name : condition
32
32
optional : true
33
33
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
42
46
categories :
43
47
- docs
44
48
- develop
@@ -53,7 +57,7 @@ command_flags:
53
57
- write
54
58
- denyoom
55
59
- 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
57
61
description : Set expiration for hash fields using relative time to expire (seconds)
58
62
group : hash
59
63
hidden : false
@@ -72,9 +76,10 @@ key_specs:
72
76
update : true
73
77
linkTitle : HEXPIRE
74
78
since : 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 ...]"
78
83
title : HEXPIRE
79
84
---
80
85
Set 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:
31
31
name : condition
32
32
optional : true
33
33
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
42
46
categories :
43
47
- docs
44
48
- develop
@@ -53,7 +57,7 @@ command_flags:
53
57
- write
54
58
- denyoom
55
59
- 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
57
61
description : Set expiration for hash fields using an absolute Unix timestamp (seconds)
58
62
group : hash
59
63
hidden : false
@@ -72,9 +76,11 @@ key_specs:
72
76
update : true
73
77
linkTitle : HEXPIREAT
74
78
since : 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
+ \ ...]"
78
84
title : HEXPIREAT
79
85
---
80
86
` 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