@enjoys/context-engine 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/commands/dockerfile.json +66 -0
- package/data/commands/lua.json +66 -0
- package/data/commands/manifest.json +3 -0
- package/data/commands/sql.json +34 -0
- package/data/completion/caddy.json +1589 -0
- package/data/completion/dockerfile.json +1062 -313
- package/data/completion/lua.json +2283 -617
- package/data/completion/nginx.json +804 -1
- package/data/completion/redis-cli.json +3405 -0
- package/data/completion/sql.json +2684 -552
- package/data/defination/caddy.json +428 -0
- package/data/defination/dockerfile.json +211 -29
- package/data/defination/lua.json +875 -125
- package/data/defination/nginx.json +164 -1
- package/data/defination/redis-cli.json +1853 -0
- package/data/defination/sql.json +998 -326
- package/data/hover/caddy.json +458 -0
- package/data/hover/dockerfile.json +180 -42
- package/data/hover/lua.json +775 -69
- package/data/hover/nginx.json +760 -0
- package/data/hover/redis-cli.json +1088 -0
- package/data/hover/sql.json +1119 -76
- package/data/manifest.json +14 -2
- package/package.json +1 -1
|
@@ -0,0 +1,1853 @@
|
|
|
1
|
+
{
|
|
2
|
+
"language": "redis",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"SET": {
|
|
5
|
+
"signature": "SET key value [EX seconds | PX ms | EXAT ts | PXAT ms-ts] [NX|XX] [KEEPTTL] [GET]",
|
|
6
|
+
"description": "Set the string value of a key with optional expiry, conditional set (NX/XX), and GET old value.",
|
|
7
|
+
"type": "command",
|
|
8
|
+
"module": "Strings"
|
|
9
|
+
},
|
|
10
|
+
"GET": {
|
|
11
|
+
"signature": "GET key",
|
|
12
|
+
"description": "Get the string value of key. Returns nil if key does not exist or value is not a string.",
|
|
13
|
+
"type": "command",
|
|
14
|
+
"module": "Strings"
|
|
15
|
+
},
|
|
16
|
+
"GETSET": {
|
|
17
|
+
"signature": "GETSET key value",
|
|
18
|
+
"description": "Atomically set key to value and return the old value. Deprecated in favor of SET with GET option.",
|
|
19
|
+
"type": "command",
|
|
20
|
+
"module": "Strings"
|
|
21
|
+
},
|
|
22
|
+
"GETDEL": {
|
|
23
|
+
"signature": "GETDEL key",
|
|
24
|
+
"description": "Get the value of key and delete the key atomically. Redis 6.2+.",
|
|
25
|
+
"type": "command",
|
|
26
|
+
"module": "Strings"
|
|
27
|
+
},
|
|
28
|
+
"GETEX": {
|
|
29
|
+
"signature": "GETEX key [EX seconds | PX ms | EXAT ts | PXAT ms-ts | PERSIST]",
|
|
30
|
+
"description": "Get value and optionally set or remove expiration. Redis 6.2+.",
|
|
31
|
+
"type": "command",
|
|
32
|
+
"module": "Strings"
|
|
33
|
+
},
|
|
34
|
+
"MSET": {
|
|
35
|
+
"signature": "MSET key value [key value ...]",
|
|
36
|
+
"description": "Set multiple key-value pairs atomically. Always succeeds.",
|
|
37
|
+
"type": "command",
|
|
38
|
+
"module": "Strings"
|
|
39
|
+
},
|
|
40
|
+
"MGET": {
|
|
41
|
+
"signature": "MGET key [key ...]",
|
|
42
|
+
"description": "Get values of all specified keys. Returns nil for non-existing keys.",
|
|
43
|
+
"type": "command",
|
|
44
|
+
"module": "Strings"
|
|
45
|
+
},
|
|
46
|
+
"MSETNX": {
|
|
47
|
+
"signature": "MSETNX key value [key value ...]",
|
|
48
|
+
"description": "Set multiple keys only if none of them exist. Atomic — all or nothing.",
|
|
49
|
+
"type": "command",
|
|
50
|
+
"module": "Strings"
|
|
51
|
+
},
|
|
52
|
+
"SETNX": {
|
|
53
|
+
"signature": "SETNX key value",
|
|
54
|
+
"description": "Set key to value if key does not exist. Returns 1 if set, 0 if key exists. Use SET NX instead.",
|
|
55
|
+
"type": "command",
|
|
56
|
+
"module": "Strings"
|
|
57
|
+
},
|
|
58
|
+
"SETEX": {
|
|
59
|
+
"signature": "SETEX key seconds value",
|
|
60
|
+
"description": "Set key to value with expiration in seconds. Atomic SET + EXPIRE.",
|
|
61
|
+
"type": "command",
|
|
62
|
+
"module": "Strings"
|
|
63
|
+
},
|
|
64
|
+
"PSETEX": {
|
|
65
|
+
"signature": "PSETEX key milliseconds value",
|
|
66
|
+
"description": "Set key to value with expiration in milliseconds.",
|
|
67
|
+
"type": "command",
|
|
68
|
+
"module": "Strings"
|
|
69
|
+
},
|
|
70
|
+
"APPEND": {
|
|
71
|
+
"signature": "APPEND key value",
|
|
72
|
+
"description": "Append a value to the string at key. Creates key if it doesn't exist. Returns new string length.",
|
|
73
|
+
"type": "command",
|
|
74
|
+
"module": "Strings"
|
|
75
|
+
},
|
|
76
|
+
"STRLEN": {
|
|
77
|
+
"signature": "STRLEN key",
|
|
78
|
+
"description": "Returns the length of the string stored at key. Returns 0 if key doesn't exist.",
|
|
79
|
+
"type": "command",
|
|
80
|
+
"module": "Strings"
|
|
81
|
+
},
|
|
82
|
+
"GETRANGE": {
|
|
83
|
+
"signature": "GETRANGE key start end",
|
|
84
|
+
"description": "Returns a substring of the string at key. Negative indices supported.",
|
|
85
|
+
"type": "command",
|
|
86
|
+
"module": "Strings"
|
|
87
|
+
},
|
|
88
|
+
"SETRANGE": {
|
|
89
|
+
"signature": "SETRANGE key offset value",
|
|
90
|
+
"description": "Overwrite part of the string at key starting at offset.",
|
|
91
|
+
"type": "command",
|
|
92
|
+
"module": "Strings"
|
|
93
|
+
},
|
|
94
|
+
"INCR": {
|
|
95
|
+
"signature": "INCR key",
|
|
96
|
+
"description": "Atomically increment the integer value of key by 1. Creates key with 0 if not exists.",
|
|
97
|
+
"type": "command",
|
|
98
|
+
"module": "Strings"
|
|
99
|
+
},
|
|
100
|
+
"INCRBY": {
|
|
101
|
+
"signature": "INCRBY key increment",
|
|
102
|
+
"description": "Atomically increment the integer value of key by the given amount.",
|
|
103
|
+
"type": "command",
|
|
104
|
+
"module": "Strings"
|
|
105
|
+
},
|
|
106
|
+
"INCRBYFLOAT": {
|
|
107
|
+
"signature": "INCRBYFLOAT key increment",
|
|
108
|
+
"description": "Increment the float value of key by the given amount.",
|
|
109
|
+
"type": "command",
|
|
110
|
+
"module": "Strings"
|
|
111
|
+
},
|
|
112
|
+
"DECR": {
|
|
113
|
+
"signature": "DECR key",
|
|
114
|
+
"description": "Atomically decrement the integer value of key by 1.",
|
|
115
|
+
"type": "command",
|
|
116
|
+
"module": "Strings"
|
|
117
|
+
},
|
|
118
|
+
"DECRBY": {
|
|
119
|
+
"signature": "DECRBY key decrement",
|
|
120
|
+
"description": "Atomically decrement the integer value of key by the given amount.",
|
|
121
|
+
"type": "command",
|
|
122
|
+
"module": "Strings"
|
|
123
|
+
},
|
|
124
|
+
"SUBSTR": {
|
|
125
|
+
"signature": "SUBSTR key start end",
|
|
126
|
+
"description": "Returns a substring. Deprecated alias for GETRANGE.",
|
|
127
|
+
"type": "command",
|
|
128
|
+
"module": "Strings"
|
|
129
|
+
},
|
|
130
|
+
"LCS": {
|
|
131
|
+
"signature": "LCS key1 key2 [LEN] [IDX] [MINMATCHLEN len] [WITHMATCHLEN]",
|
|
132
|
+
"description": "Find the longest common substring between two string keys. Redis 7.0+.",
|
|
133
|
+
"type": "command",
|
|
134
|
+
"module": "Strings"
|
|
135
|
+
},
|
|
136
|
+
"HSET": {
|
|
137
|
+
"signature": "HSET key field value [field value ...]",
|
|
138
|
+
"description": "Set one or more field-value pairs in a hash. Creates hash if not exists.",
|
|
139
|
+
"type": "command",
|
|
140
|
+
"module": "Hashes"
|
|
141
|
+
},
|
|
142
|
+
"HGET": {
|
|
143
|
+
"signature": "HGET key field",
|
|
144
|
+
"description": "Get the value of a field in a hash. Returns nil if field or key doesn't exist.",
|
|
145
|
+
"type": "command",
|
|
146
|
+
"module": "Hashes"
|
|
147
|
+
},
|
|
148
|
+
"HMSET": {
|
|
149
|
+
"signature": "HMSET key field value [field value ...]",
|
|
150
|
+
"description": "Set multiple hash fields. Deprecated — use HSET with multiple field-value pairs.",
|
|
151
|
+
"type": "command",
|
|
152
|
+
"module": "Hashes"
|
|
153
|
+
},
|
|
154
|
+
"HMGET": {
|
|
155
|
+
"signature": "HMGET key field [field ...]",
|
|
156
|
+
"description": "Get values of multiple hash fields. Returns nil for non-existing fields.",
|
|
157
|
+
"type": "command",
|
|
158
|
+
"module": "Hashes"
|
|
159
|
+
},
|
|
160
|
+
"HGETALL": {
|
|
161
|
+
"signature": "HGETALL key",
|
|
162
|
+
"description": "Get all fields and values in a hash. Returns flat list of alternating field/value.",
|
|
163
|
+
"type": "command",
|
|
164
|
+
"module": "Hashes"
|
|
165
|
+
},
|
|
166
|
+
"HDEL": {
|
|
167
|
+
"signature": "HDEL key field [field ...]",
|
|
168
|
+
"description": "Delete one or more hash fields. Returns the number of removed fields.",
|
|
169
|
+
"type": "command",
|
|
170
|
+
"module": "Hashes"
|
|
171
|
+
},
|
|
172
|
+
"HEXISTS": {
|
|
173
|
+
"signature": "HEXISTS key field",
|
|
174
|
+
"description": "Check if a hash field exists. Returns 1 or 0.",
|
|
175
|
+
"type": "command",
|
|
176
|
+
"module": "Hashes"
|
|
177
|
+
},
|
|
178
|
+
"HLEN": {
|
|
179
|
+
"signature": "HLEN key",
|
|
180
|
+
"description": "Returns the number of fields in a hash.",
|
|
181
|
+
"type": "command",
|
|
182
|
+
"module": "Hashes"
|
|
183
|
+
},
|
|
184
|
+
"HKEYS": {
|
|
185
|
+
"signature": "HKEYS key",
|
|
186
|
+
"description": "Returns all field names in a hash.",
|
|
187
|
+
"type": "command",
|
|
188
|
+
"module": "Hashes"
|
|
189
|
+
},
|
|
190
|
+
"HVALS": {
|
|
191
|
+
"signature": "HVALS key",
|
|
192
|
+
"description": "Returns all values in a hash.",
|
|
193
|
+
"type": "command",
|
|
194
|
+
"module": "Hashes"
|
|
195
|
+
},
|
|
196
|
+
"HINCRBY": {
|
|
197
|
+
"signature": "HINCRBY key field increment",
|
|
198
|
+
"description": "Increment the integer value of a hash field.",
|
|
199
|
+
"type": "command",
|
|
200
|
+
"module": "Hashes"
|
|
201
|
+
},
|
|
202
|
+
"HINCRBYFLOAT": {
|
|
203
|
+
"signature": "HINCRBYFLOAT key field increment",
|
|
204
|
+
"description": "Increment the float value of a hash field.",
|
|
205
|
+
"type": "command",
|
|
206
|
+
"module": "Hashes"
|
|
207
|
+
},
|
|
208
|
+
"HSETNX": {
|
|
209
|
+
"signature": "HSETNX key field value",
|
|
210
|
+
"description": "Set hash field only if it does not exist.",
|
|
211
|
+
"type": "command",
|
|
212
|
+
"module": "Hashes"
|
|
213
|
+
},
|
|
214
|
+
"HRANDFIELD": {
|
|
215
|
+
"signature": "HRANDFIELD key [count [WITHVALUES]]",
|
|
216
|
+
"description": "Return random field(s) from a hash. Redis 6.2+.",
|
|
217
|
+
"type": "command",
|
|
218
|
+
"module": "Hashes"
|
|
219
|
+
},
|
|
220
|
+
"HSCAN": {
|
|
221
|
+
"signature": "HSCAN key cursor [MATCH pattern] [COUNT count]",
|
|
222
|
+
"description": "Incrementally iterate hash fields and values.",
|
|
223
|
+
"type": "command",
|
|
224
|
+
"module": "Hashes"
|
|
225
|
+
},
|
|
226
|
+
"LPUSH": {
|
|
227
|
+
"signature": "LPUSH key element [element ...]",
|
|
228
|
+
"description": "Insert elements at the head of a list. Creates list if not exists.",
|
|
229
|
+
"type": "command",
|
|
230
|
+
"module": "Lists"
|
|
231
|
+
},
|
|
232
|
+
"RPUSH": {
|
|
233
|
+
"signature": "RPUSH key element [element ...]",
|
|
234
|
+
"description": "Insert elements at the tail of a list.",
|
|
235
|
+
"type": "command",
|
|
236
|
+
"module": "Lists"
|
|
237
|
+
},
|
|
238
|
+
"LPOP": {
|
|
239
|
+
"signature": "LPOP key [count]",
|
|
240
|
+
"description": "Remove and return element(s) from the head of a list.",
|
|
241
|
+
"type": "command",
|
|
242
|
+
"module": "Lists"
|
|
243
|
+
},
|
|
244
|
+
"RPOP": {
|
|
245
|
+
"signature": "RPOP key [count]",
|
|
246
|
+
"description": "Remove and return element(s) from the tail of a list.",
|
|
247
|
+
"type": "command",
|
|
248
|
+
"module": "Lists"
|
|
249
|
+
},
|
|
250
|
+
"LLEN": {
|
|
251
|
+
"signature": "LLEN key",
|
|
252
|
+
"description": "Returns the length of a list.",
|
|
253
|
+
"type": "command",
|
|
254
|
+
"module": "Lists"
|
|
255
|
+
},
|
|
256
|
+
"LRANGE": {
|
|
257
|
+
"signature": "LRANGE key start stop",
|
|
258
|
+
"description": "Get elements from a list by index range. 0 = first, -1 = last.",
|
|
259
|
+
"type": "command",
|
|
260
|
+
"module": "Lists"
|
|
261
|
+
},
|
|
262
|
+
"LINDEX": {
|
|
263
|
+
"signature": "LINDEX key index",
|
|
264
|
+
"description": "Get an element by its index. Negative indices count from the end.",
|
|
265
|
+
"type": "command",
|
|
266
|
+
"module": "Lists"
|
|
267
|
+
},
|
|
268
|
+
"LSET": {
|
|
269
|
+
"signature": "LSET key index element",
|
|
270
|
+
"description": "Set the element at index in a list.",
|
|
271
|
+
"type": "command",
|
|
272
|
+
"module": "Lists"
|
|
273
|
+
},
|
|
274
|
+
"LINSERT": {
|
|
275
|
+
"signature": "LINSERT key BEFORE|AFTER pivot element",
|
|
276
|
+
"description": "Insert element before or after the pivot value.",
|
|
277
|
+
"type": "command",
|
|
278
|
+
"module": "Lists"
|
|
279
|
+
},
|
|
280
|
+
"LREM": {
|
|
281
|
+
"signature": "LREM key count element",
|
|
282
|
+
"description": "Remove count occurrences of element. count>0: head to tail; count<0: tail to head; 0: all.",
|
|
283
|
+
"type": "command",
|
|
284
|
+
"module": "Lists"
|
|
285
|
+
},
|
|
286
|
+
"LTRIM": {
|
|
287
|
+
"signature": "LTRIM key start stop",
|
|
288
|
+
"description": "Trim list to the specified range.",
|
|
289
|
+
"type": "command",
|
|
290
|
+
"module": "Lists"
|
|
291
|
+
},
|
|
292
|
+
"RPOPLPUSH": {
|
|
293
|
+
"signature": "RPOPLPUSH source destination",
|
|
294
|
+
"description": "Pop from tail of source and push to head of destination. Deprecated — use LMOVE.",
|
|
295
|
+
"type": "command",
|
|
296
|
+
"module": "Lists"
|
|
297
|
+
},
|
|
298
|
+
"LMOVE": {
|
|
299
|
+
"signature": "LMOVE source destination LEFT|RIGHT LEFT|RIGHT",
|
|
300
|
+
"description": "Atomically pop from one list and push to another. Redis 6.2+.",
|
|
301
|
+
"type": "command",
|
|
302
|
+
"module": "Lists"
|
|
303
|
+
},
|
|
304
|
+
"BLPOP": {
|
|
305
|
+
"signature": "BLPOP key [key ...] timeout",
|
|
306
|
+
"description": "Blocking pop from head. Blocks until element available or timeout.",
|
|
307
|
+
"type": "command",
|
|
308
|
+
"module": "Lists"
|
|
309
|
+
},
|
|
310
|
+
"BRPOP": {
|
|
311
|
+
"signature": "BRPOP key [key ...] timeout",
|
|
312
|
+
"description": "Blocking pop from tail.",
|
|
313
|
+
"type": "command",
|
|
314
|
+
"module": "Lists"
|
|
315
|
+
},
|
|
316
|
+
"BLMOVE": {
|
|
317
|
+
"signature": "BLMOVE source destination LEFT|RIGHT LEFT|RIGHT timeout",
|
|
318
|
+
"description": "Blocking version of LMOVE. Redis 6.2+.",
|
|
319
|
+
"type": "command",
|
|
320
|
+
"module": "Lists"
|
|
321
|
+
},
|
|
322
|
+
"LPOS": {
|
|
323
|
+
"signature": "LPOS key element [RANK rank] [COUNT count] [MAXLEN len]",
|
|
324
|
+
"description": "Return position of element in list. Redis 6.0.6+.",
|
|
325
|
+
"type": "command",
|
|
326
|
+
"module": "Lists"
|
|
327
|
+
},
|
|
328
|
+
"LMPOP": {
|
|
329
|
+
"signature": "LMPOP numkeys key [key ...] LEFT|RIGHT [COUNT count]",
|
|
330
|
+
"description": "Pop from first non-empty list. Redis 7.0+.",
|
|
331
|
+
"type": "command",
|
|
332
|
+
"module": "Lists"
|
|
333
|
+
},
|
|
334
|
+
"BLMPOP": {
|
|
335
|
+
"signature": "BLMPOP timeout numkeys key [key ...] LEFT|RIGHT [COUNT count]",
|
|
336
|
+
"description": "Blocking version of LMPOP. Redis 7.0+.",
|
|
337
|
+
"type": "command",
|
|
338
|
+
"module": "Lists"
|
|
339
|
+
},
|
|
340
|
+
"LPUSHX": {
|
|
341
|
+
"signature": "LPUSHX key element [element ...]",
|
|
342
|
+
"description": "Push to head only if list exists.",
|
|
343
|
+
"type": "command",
|
|
344
|
+
"module": "Lists"
|
|
345
|
+
},
|
|
346
|
+
"RPUSHX": {
|
|
347
|
+
"signature": "RPUSHX key element [element ...]",
|
|
348
|
+
"description": "Push to tail only if list exists.",
|
|
349
|
+
"type": "command",
|
|
350
|
+
"module": "Lists"
|
|
351
|
+
},
|
|
352
|
+
"SADD": {
|
|
353
|
+
"signature": "SADD key member [member ...]",
|
|
354
|
+
"description": "Add members to a set. Ignores existing members.",
|
|
355
|
+
"type": "command",
|
|
356
|
+
"module": "Sets"
|
|
357
|
+
},
|
|
358
|
+
"SREM": {
|
|
359
|
+
"signature": "SREM key member [member ...]",
|
|
360
|
+
"description": "Remove members from a set.",
|
|
361
|
+
"type": "command",
|
|
362
|
+
"module": "Sets"
|
|
363
|
+
},
|
|
364
|
+
"SMEMBERS": {
|
|
365
|
+
"signature": "SMEMBERS key",
|
|
366
|
+
"description": "Get all members of a set.",
|
|
367
|
+
"type": "command",
|
|
368
|
+
"module": "Sets"
|
|
369
|
+
},
|
|
370
|
+
"SISMEMBER": {
|
|
371
|
+
"signature": "SISMEMBER key member",
|
|
372
|
+
"description": "Check if member is in set. Returns 1 or 0.",
|
|
373
|
+
"type": "command",
|
|
374
|
+
"module": "Sets"
|
|
375
|
+
},
|
|
376
|
+
"SMISMEMBER": {
|
|
377
|
+
"signature": "SMISMEMBER key member [member ...]",
|
|
378
|
+
"description": "Check multiple members. Returns array of 1/0. Redis 6.2+.",
|
|
379
|
+
"type": "command",
|
|
380
|
+
"module": "Sets"
|
|
381
|
+
},
|
|
382
|
+
"SCARD": {
|
|
383
|
+
"signature": "SCARD key",
|
|
384
|
+
"description": "Get the cardinality (number of elements) of a set.",
|
|
385
|
+
"type": "command",
|
|
386
|
+
"module": "Sets"
|
|
387
|
+
},
|
|
388
|
+
"SPOP": {
|
|
389
|
+
"signature": "SPOP key [count]",
|
|
390
|
+
"description": "Remove and return random member(s).",
|
|
391
|
+
"type": "command",
|
|
392
|
+
"module": "Sets"
|
|
393
|
+
},
|
|
394
|
+
"SRANDMEMBER": {
|
|
395
|
+
"signature": "SRANDMEMBER key [count]",
|
|
396
|
+
"description": "Get random member(s) without removing.",
|
|
397
|
+
"type": "command",
|
|
398
|
+
"module": "Sets"
|
|
399
|
+
},
|
|
400
|
+
"SUNION": {
|
|
401
|
+
"signature": "SUNION key [key ...]",
|
|
402
|
+
"description": "Return the union of multiple sets.",
|
|
403
|
+
"type": "command",
|
|
404
|
+
"module": "Sets"
|
|
405
|
+
},
|
|
406
|
+
"SUNIONSTORE": {
|
|
407
|
+
"signature": "SUNIONSTORE destination key [key ...]",
|
|
408
|
+
"description": "Store the union of sets.",
|
|
409
|
+
"type": "command",
|
|
410
|
+
"module": "Sets"
|
|
411
|
+
},
|
|
412
|
+
"SINTER": {
|
|
413
|
+
"signature": "SINTER key [key ...]",
|
|
414
|
+
"description": "Return the intersection of multiple sets.",
|
|
415
|
+
"type": "command",
|
|
416
|
+
"module": "Sets"
|
|
417
|
+
},
|
|
418
|
+
"SINTERSTORE": {
|
|
419
|
+
"signature": "SINTERSTORE destination key [key ...]",
|
|
420
|
+
"description": "Store the intersection of sets.",
|
|
421
|
+
"type": "command",
|
|
422
|
+
"module": "Sets"
|
|
423
|
+
},
|
|
424
|
+
"SINTERCARD": {
|
|
425
|
+
"signature": "SINTERCARD numkeys key [key ...] [LIMIT limit]",
|
|
426
|
+
"description": "Return cardinality of intersection without computing it. Redis 7.0+.",
|
|
427
|
+
"type": "command",
|
|
428
|
+
"module": "Sets"
|
|
429
|
+
},
|
|
430
|
+
"SDIFF": {
|
|
431
|
+
"signature": "SDIFF key [key ...]",
|
|
432
|
+
"description": "Return members in first set not in subsequent sets.",
|
|
433
|
+
"type": "command",
|
|
434
|
+
"module": "Sets"
|
|
435
|
+
},
|
|
436
|
+
"SDIFFSTORE": {
|
|
437
|
+
"signature": "SDIFFSTORE destination key [key ...]",
|
|
438
|
+
"description": "Store the difference of sets.",
|
|
439
|
+
"type": "command",
|
|
440
|
+
"module": "Sets"
|
|
441
|
+
},
|
|
442
|
+
"SMOVE": {
|
|
443
|
+
"signature": "SMOVE source destination member",
|
|
444
|
+
"description": "Atomically move member from one set to another.",
|
|
445
|
+
"type": "command",
|
|
446
|
+
"module": "Sets"
|
|
447
|
+
},
|
|
448
|
+
"SSCAN": {
|
|
449
|
+
"signature": "SSCAN key cursor [MATCH pattern] [COUNT count]",
|
|
450
|
+
"description": "Incrementally iterate set members.",
|
|
451
|
+
"type": "command",
|
|
452
|
+
"module": "Sets"
|
|
453
|
+
},
|
|
454
|
+
"ZADD": {
|
|
455
|
+
"signature": "ZADD key [NX|XX] [GT|LT] [CH] score member [score member ...]",
|
|
456
|
+
"description": "Add members with scores to a sorted set. NX: only add new, XX: only update, GT/LT: conditional score update.",
|
|
457
|
+
"type": "command",
|
|
458
|
+
"module": "Sorted Sets"
|
|
459
|
+
},
|
|
460
|
+
"ZREM": {
|
|
461
|
+
"signature": "ZREM key member [member ...]",
|
|
462
|
+
"description": "Remove members from a sorted set.",
|
|
463
|
+
"type": "command",
|
|
464
|
+
"module": "Sorted Sets"
|
|
465
|
+
},
|
|
466
|
+
"ZSCORE": {
|
|
467
|
+
"signature": "ZSCORE key member",
|
|
468
|
+
"description": "Get the score of a member. Returns nil if not found.",
|
|
469
|
+
"type": "command",
|
|
470
|
+
"module": "Sorted Sets"
|
|
471
|
+
},
|
|
472
|
+
"ZMSCORE": {
|
|
473
|
+
"signature": "ZMSCORE key member [member ...]",
|
|
474
|
+
"description": "Get scores of multiple members. Redis 6.2+.",
|
|
475
|
+
"type": "command",
|
|
476
|
+
"module": "Sorted Sets"
|
|
477
|
+
},
|
|
478
|
+
"ZRANK": {
|
|
479
|
+
"signature": "ZRANK key member [WITHSCORE]",
|
|
480
|
+
"description": "Get the rank of a member (0-based, ascending). Redis 7.2+ supports WITHSCORE.",
|
|
481
|
+
"type": "command",
|
|
482
|
+
"module": "Sorted Sets"
|
|
483
|
+
},
|
|
484
|
+
"ZREVRANK": {
|
|
485
|
+
"signature": "ZREVRANK key member [WITHSCORE]",
|
|
486
|
+
"description": "Get the rank of a member (0-based, descending).",
|
|
487
|
+
"type": "command",
|
|
488
|
+
"module": "Sorted Sets"
|
|
489
|
+
},
|
|
490
|
+
"ZCARD": {
|
|
491
|
+
"signature": "ZCARD key",
|
|
492
|
+
"description": "Get the number of members in a sorted set.",
|
|
493
|
+
"type": "command",
|
|
494
|
+
"module": "Sorted Sets"
|
|
495
|
+
},
|
|
496
|
+
"ZCOUNT": {
|
|
497
|
+
"signature": "ZCOUNT key min max",
|
|
498
|
+
"description": "Count members with scores in the given range. Use -inf/+inf for unbounded.",
|
|
499
|
+
"type": "command",
|
|
500
|
+
"module": "Sorted Sets"
|
|
501
|
+
},
|
|
502
|
+
"ZLEXCOUNT": {
|
|
503
|
+
"signature": "ZLEXCOUNT key min max",
|
|
504
|
+
"description": "Count members in a lex range when all scores are equal.",
|
|
505
|
+
"type": "command",
|
|
506
|
+
"module": "Sorted Sets"
|
|
507
|
+
},
|
|
508
|
+
"ZRANGE": {
|
|
509
|
+
"signature": "ZRANGE key min max [BYSCORE|BYLEX] [REV] [LIMIT offset count] [WITHSCORES]",
|
|
510
|
+
"description": "Unified range query. Replaces ZRANGEBYSCORE, ZRANGEBYLEX, ZREVRANGE since Redis 6.2.",
|
|
511
|
+
"type": "command",
|
|
512
|
+
"module": "Sorted Sets"
|
|
513
|
+
},
|
|
514
|
+
"ZRANGEBYSCORE": {
|
|
515
|
+
"signature": "ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]",
|
|
516
|
+
"description": "Return members with scores in range. Deprecated — use ZRANGE BYSCORE.",
|
|
517
|
+
"type": "command",
|
|
518
|
+
"module": "Sorted Sets"
|
|
519
|
+
},
|
|
520
|
+
"ZRANGEBYLEX": {
|
|
521
|
+
"signature": "ZRANGEBYLEX key min max [LIMIT offset count]",
|
|
522
|
+
"description": "Return members in a lex range. Deprecated — use ZRANGE BYLEX.",
|
|
523
|
+
"type": "command",
|
|
524
|
+
"module": "Sorted Sets"
|
|
525
|
+
},
|
|
526
|
+
"ZREVRANGE": {
|
|
527
|
+
"signature": "ZREVRANGE key start stop [WITHSCORES]",
|
|
528
|
+
"description": "Return members in reverse rank order. Deprecated — use ZRANGE REV.",
|
|
529
|
+
"type": "command",
|
|
530
|
+
"module": "Sorted Sets"
|
|
531
|
+
},
|
|
532
|
+
"ZREVRANGEBYSCORE": {
|
|
533
|
+
"signature": "ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]",
|
|
534
|
+
"description": "Return members with scores in range, descending. Deprecated.",
|
|
535
|
+
"type": "command",
|
|
536
|
+
"module": "Sorted Sets"
|
|
537
|
+
},
|
|
538
|
+
"ZINCRBY": {
|
|
539
|
+
"signature": "ZINCRBY key increment member",
|
|
540
|
+
"description": "Increment the score of a member. Creates member if not exists.",
|
|
541
|
+
"type": "command",
|
|
542
|
+
"module": "Sorted Sets"
|
|
543
|
+
},
|
|
544
|
+
"ZUNIONSTORE": {
|
|
545
|
+
"signature": "ZUNIONSTORE dest numkeys key [key ...] [WEIGHTS w ...] [AGGREGATE SUM|MIN|MAX]",
|
|
546
|
+
"description": "Store union of sorted sets with optional score weighting.",
|
|
547
|
+
"type": "command",
|
|
548
|
+
"module": "Sorted Sets"
|
|
549
|
+
},
|
|
550
|
+
"ZUNION": {
|
|
551
|
+
"signature": "ZUNION numkeys key [key ...] [WEIGHTS w ...] [AGGREGATE SUM|MIN|MAX] [WITHSCORES]",
|
|
552
|
+
"description": "Return union without storing. Redis 6.2+.",
|
|
553
|
+
"type": "command",
|
|
554
|
+
"module": "Sorted Sets"
|
|
555
|
+
},
|
|
556
|
+
"ZINTERSTORE": {
|
|
557
|
+
"signature": "ZINTERSTORE dest numkeys key [key ...] [WEIGHTS w ...] [AGGREGATE SUM|MIN|MAX]",
|
|
558
|
+
"description": "Store intersection of sorted sets.",
|
|
559
|
+
"type": "command",
|
|
560
|
+
"module": "Sorted Sets"
|
|
561
|
+
},
|
|
562
|
+
"ZINTER": {
|
|
563
|
+
"signature": "ZINTER numkeys key [key ...] [WEIGHTS w ...] [AGGREGATE SUM|MIN|MAX] [WITHSCORES]",
|
|
564
|
+
"description": "Return intersection without storing. Redis 6.2+.",
|
|
565
|
+
"type": "command",
|
|
566
|
+
"module": "Sorted Sets"
|
|
567
|
+
},
|
|
568
|
+
"ZDIFFSTORE": {
|
|
569
|
+
"signature": "ZDIFFSTORE dest numkeys key [key ...]",
|
|
570
|
+
"description": "Store difference of sorted sets. Redis 6.2+.",
|
|
571
|
+
"type": "command",
|
|
572
|
+
"module": "Sorted Sets"
|
|
573
|
+
},
|
|
574
|
+
"ZDIFF": {
|
|
575
|
+
"signature": "ZDIFF numkeys key [key ...] [WITHSCORES]",
|
|
576
|
+
"description": "Return difference without storing. Redis 6.2+.",
|
|
577
|
+
"type": "command",
|
|
578
|
+
"module": "Sorted Sets"
|
|
579
|
+
},
|
|
580
|
+
"ZRANDMEMBER": {
|
|
581
|
+
"signature": "ZRANDMEMBER key [count [WITHSCORES]]",
|
|
582
|
+
"description": "Return random member(s). Redis 6.2+.",
|
|
583
|
+
"type": "command",
|
|
584
|
+
"module": "Sorted Sets"
|
|
585
|
+
},
|
|
586
|
+
"ZPOPMIN": {
|
|
587
|
+
"signature": "ZPOPMIN key [count]",
|
|
588
|
+
"description": "Remove and return member(s) with the lowest scores.",
|
|
589
|
+
"type": "command",
|
|
590
|
+
"module": "Sorted Sets"
|
|
591
|
+
},
|
|
592
|
+
"ZPOPMAX": {
|
|
593
|
+
"signature": "ZPOPMAX key [count]",
|
|
594
|
+
"description": "Remove and return member(s) with the highest scores.",
|
|
595
|
+
"type": "command",
|
|
596
|
+
"module": "Sorted Sets"
|
|
597
|
+
},
|
|
598
|
+
"BZPOPMIN": {
|
|
599
|
+
"signature": "BZPOPMIN key [key ...] timeout",
|
|
600
|
+
"description": "Blocking pop of member with lowest score.",
|
|
601
|
+
"type": "command",
|
|
602
|
+
"module": "Sorted Sets"
|
|
603
|
+
},
|
|
604
|
+
"BZPOPMAX": {
|
|
605
|
+
"signature": "BZPOPMAX key [key ...] timeout",
|
|
606
|
+
"description": "Blocking pop of member with highest score.",
|
|
607
|
+
"type": "command",
|
|
608
|
+
"module": "Sorted Sets"
|
|
609
|
+
},
|
|
610
|
+
"ZMPOP": {
|
|
611
|
+
"signature": "ZMPOP numkeys key [key ...] MIN|MAX [COUNT count]",
|
|
612
|
+
"description": "Pop from first non-empty sorted set. Redis 7.0+.",
|
|
613
|
+
"type": "command",
|
|
614
|
+
"module": "Sorted Sets"
|
|
615
|
+
},
|
|
616
|
+
"BZMPOP": {
|
|
617
|
+
"signature": "BZMPOP timeout numkeys key [key ...] MIN|MAX [COUNT count]",
|
|
618
|
+
"description": "Blocking version of ZMPOP. Redis 7.0+.",
|
|
619
|
+
"type": "command",
|
|
620
|
+
"module": "Sorted Sets"
|
|
621
|
+
},
|
|
622
|
+
"ZRANGESTORE": {
|
|
623
|
+
"signature": "ZRANGESTORE dst src min max [BYSCORE|BYLEX] [REV] [LIMIT offset count]",
|
|
624
|
+
"description": "Store specified range from sorted set. Redis 6.2+.",
|
|
625
|
+
"type": "command",
|
|
626
|
+
"module": "Sorted Sets"
|
|
627
|
+
},
|
|
628
|
+
"ZSCAN": {
|
|
629
|
+
"signature": "ZSCAN key cursor [MATCH pattern] [COUNT count]",
|
|
630
|
+
"description": "Incrementally iterate sorted set members and scores.",
|
|
631
|
+
"type": "command",
|
|
632
|
+
"module": "Sorted Sets"
|
|
633
|
+
},
|
|
634
|
+
"DEL": {
|
|
635
|
+
"signature": "DEL key [key ...]",
|
|
636
|
+
"description": "Delete one or more keys synchronously. Returns count of deleted keys.",
|
|
637
|
+
"type": "command",
|
|
638
|
+
"module": "Generic"
|
|
639
|
+
},
|
|
640
|
+
"UNLINK": {
|
|
641
|
+
"signature": "UNLINK key [key ...]",
|
|
642
|
+
"description": "Delete keys asynchronously in a background thread. Non-blocking.",
|
|
643
|
+
"type": "command",
|
|
644
|
+
"module": "Generic"
|
|
645
|
+
},
|
|
646
|
+
"EXISTS": {
|
|
647
|
+
"signature": "EXISTS key [key ...]",
|
|
648
|
+
"description": "Check if key(s) exist. Returns count of existing keys.",
|
|
649
|
+
"type": "command",
|
|
650
|
+
"module": "Generic"
|
|
651
|
+
},
|
|
652
|
+
"TYPE": {
|
|
653
|
+
"signature": "TYPE key",
|
|
654
|
+
"description": "Returns the type of value at key: string, list, set, zset, hash, stream.",
|
|
655
|
+
"type": "command",
|
|
656
|
+
"module": "Generic"
|
|
657
|
+
},
|
|
658
|
+
"RENAME": {
|
|
659
|
+
"signature": "RENAME key newkey",
|
|
660
|
+
"description": "Rename a key. Overwrites newkey if it exists.",
|
|
661
|
+
"type": "command",
|
|
662
|
+
"module": "Generic"
|
|
663
|
+
},
|
|
664
|
+
"RENAMENX": {
|
|
665
|
+
"signature": "RENAMENX key newkey",
|
|
666
|
+
"description": "Rename key only if newkey does not exist.",
|
|
667
|
+
"type": "command",
|
|
668
|
+
"module": "Generic"
|
|
669
|
+
},
|
|
670
|
+
"KEYS": {
|
|
671
|
+
"signature": "KEYS pattern",
|
|
672
|
+
"description": "Find all keys matching a glob-style pattern. Use SCAN in production.",
|
|
673
|
+
"type": "command",
|
|
674
|
+
"module": "Generic"
|
|
675
|
+
},
|
|
676
|
+
"SCAN": {
|
|
677
|
+
"signature": "SCAN cursor [MATCH pattern] [COUNT count] [TYPE type]",
|
|
678
|
+
"description": "Incrementally iterate the key space. Non-blocking alternative to KEYS.",
|
|
679
|
+
"type": "command",
|
|
680
|
+
"module": "Generic"
|
|
681
|
+
},
|
|
682
|
+
"RANDOMKEY": {
|
|
683
|
+
"signature": "RANDOMKEY",
|
|
684
|
+
"description": "Return a random key from the current database.",
|
|
685
|
+
"type": "command",
|
|
686
|
+
"module": "Generic"
|
|
687
|
+
},
|
|
688
|
+
"EXPIRE": {
|
|
689
|
+
"signature": "EXPIRE key seconds [NX|XX|GT|LT]",
|
|
690
|
+
"description": "Set TTL on key in seconds. Redis 7.0+ supports conditional options.",
|
|
691
|
+
"type": "command",
|
|
692
|
+
"module": "Generic"
|
|
693
|
+
},
|
|
694
|
+
"PEXPIRE": {
|
|
695
|
+
"signature": "PEXPIRE key milliseconds [NX|XX|GT|LT]",
|
|
696
|
+
"description": "Set TTL on key in milliseconds.",
|
|
697
|
+
"type": "command",
|
|
698
|
+
"module": "Generic"
|
|
699
|
+
},
|
|
700
|
+
"EXPIREAT": {
|
|
701
|
+
"signature": "EXPIREAT key unix-time-seconds [NX|XX|GT|LT]",
|
|
702
|
+
"description": "Set key to expire at a Unix timestamp (seconds).",
|
|
703
|
+
"type": "command",
|
|
704
|
+
"module": "Generic"
|
|
705
|
+
},
|
|
706
|
+
"PEXPIREAT": {
|
|
707
|
+
"signature": "PEXPIREAT key unix-time-milliseconds [NX|XX|GT|LT]",
|
|
708
|
+
"description": "Set key to expire at a Unix timestamp (milliseconds).",
|
|
709
|
+
"type": "command",
|
|
710
|
+
"module": "Generic"
|
|
711
|
+
},
|
|
712
|
+
"TTL": {
|
|
713
|
+
"signature": "TTL key",
|
|
714
|
+
"description": "Returns remaining time to live in seconds. -2 = key doesn't exist, -1 = no expiry.",
|
|
715
|
+
"type": "command",
|
|
716
|
+
"module": "Generic"
|
|
717
|
+
},
|
|
718
|
+
"PTTL": {
|
|
719
|
+
"signature": "PTTL key",
|
|
720
|
+
"description": "Returns remaining TTL in milliseconds.",
|
|
721
|
+
"type": "command",
|
|
722
|
+
"module": "Generic"
|
|
723
|
+
},
|
|
724
|
+
"PERSIST": {
|
|
725
|
+
"signature": "PERSIST key",
|
|
726
|
+
"description": "Remove the expiration from a key, making it persistent.",
|
|
727
|
+
"type": "command",
|
|
728
|
+
"module": "Generic"
|
|
729
|
+
},
|
|
730
|
+
"EXPIRETIME": {
|
|
731
|
+
"signature": "EXPIRETIME key",
|
|
732
|
+
"description": "Returns the absolute Unix timestamp at which the key will expire. Redis 7.0+.",
|
|
733
|
+
"type": "command",
|
|
734
|
+
"module": "Generic"
|
|
735
|
+
},
|
|
736
|
+
"PEXPIRETIME": {
|
|
737
|
+
"signature": "PEXPIRETIME key",
|
|
738
|
+
"description": "Returns the absolute Unix timestamp (ms) at which the key will expire. Redis 7.0+.",
|
|
739
|
+
"type": "command",
|
|
740
|
+
"module": "Generic"
|
|
741
|
+
},
|
|
742
|
+
"DUMP": {
|
|
743
|
+
"signature": "DUMP key",
|
|
744
|
+
"description": "Serialize the value stored at key in Redis-specific format.",
|
|
745
|
+
"type": "command",
|
|
746
|
+
"module": "Generic"
|
|
747
|
+
},
|
|
748
|
+
"RESTORE": {
|
|
749
|
+
"signature": "RESTORE key ttl serialized-value [REPLACE] [ABSTTL] [IDLETIME s] [FREQ f]",
|
|
750
|
+
"description": "Deserialize and restore a key from DUMP output.",
|
|
751
|
+
"type": "command",
|
|
752
|
+
"module": "Generic"
|
|
753
|
+
},
|
|
754
|
+
"OBJECT ENCODING": {
|
|
755
|
+
"signature": "OBJECT ENCODING key",
|
|
756
|
+
"description": "Returns the internal encoding of the value: embstr, int, raw, ziplist, listpack, quicklist, hashtable, skiplist, intset.",
|
|
757
|
+
"type": "command",
|
|
758
|
+
"module": "Generic"
|
|
759
|
+
},
|
|
760
|
+
"OBJECT REFCOUNT": {
|
|
761
|
+
"signature": "OBJECT REFCOUNT key",
|
|
762
|
+
"description": "Returns the reference count of the value object.",
|
|
763
|
+
"type": "command",
|
|
764
|
+
"module": "Generic"
|
|
765
|
+
},
|
|
766
|
+
"OBJECT IDLETIME": {
|
|
767
|
+
"signature": "OBJECT IDLETIME key",
|
|
768
|
+
"description": "Returns seconds since the key was last accessed.",
|
|
769
|
+
"type": "command",
|
|
770
|
+
"module": "Generic"
|
|
771
|
+
},
|
|
772
|
+
"OBJECT FREQ": {
|
|
773
|
+
"signature": "OBJECT FREQ key",
|
|
774
|
+
"description": "Returns the logarithmic access frequency counter (requires allkeys-lfu policy).",
|
|
775
|
+
"type": "command",
|
|
776
|
+
"module": "Generic"
|
|
777
|
+
},
|
|
778
|
+
"SORT": {
|
|
779
|
+
"signature": "SORT key [BY pattern] [LIMIT offset count] [GET pattern ...] [ASC|DESC] [ALPHA] [STORE dest]",
|
|
780
|
+
"description": "Sort elements in a list, set, or sorted set. Can dereference external keys.",
|
|
781
|
+
"type": "command",
|
|
782
|
+
"module": "Generic"
|
|
783
|
+
},
|
|
784
|
+
"SORT_RO": {
|
|
785
|
+
"signature": "SORT_RO key [BY pattern] [LIMIT offset count] [GET pattern ...] [ASC|DESC] [ALPHA]",
|
|
786
|
+
"description": "Read-only variant of SORT. Redis 7.0+.",
|
|
787
|
+
"type": "command",
|
|
788
|
+
"module": "Generic"
|
|
789
|
+
},
|
|
790
|
+
"MOVE": {
|
|
791
|
+
"signature": "MOVE key db",
|
|
792
|
+
"description": "Move key to another database.",
|
|
793
|
+
"type": "command",
|
|
794
|
+
"module": "Generic"
|
|
795
|
+
},
|
|
796
|
+
"COPY": {
|
|
797
|
+
"signature": "COPY source destination [DB db] [REPLACE]",
|
|
798
|
+
"description": "Copy a key to another key. Redis 6.2+.",
|
|
799
|
+
"type": "command",
|
|
800
|
+
"module": "Generic"
|
|
801
|
+
},
|
|
802
|
+
"TOUCH": {
|
|
803
|
+
"signature": "TOUCH key [key ...]",
|
|
804
|
+
"description": "Alter the last access time of key(s).",
|
|
805
|
+
"type": "command",
|
|
806
|
+
"module": "Generic"
|
|
807
|
+
},
|
|
808
|
+
"WAIT": {
|
|
809
|
+
"signature": "WAIT numreplicas timeout",
|
|
810
|
+
"description": "Block until writes are acknowledged by N replicas or timeout.",
|
|
811
|
+
"type": "command",
|
|
812
|
+
"module": "Generic"
|
|
813
|
+
},
|
|
814
|
+
"WAITAOF": {
|
|
815
|
+
"signature": "WAITAOF numlocal numreplicas timeout",
|
|
816
|
+
"description": "Block until writes are fsynced to AOF. Redis 7.2+.",
|
|
817
|
+
"type": "command",
|
|
818
|
+
"module": "Generic"
|
|
819
|
+
},
|
|
820
|
+
"PFADD": {
|
|
821
|
+
"signature": "PFADD key element [element ...]",
|
|
822
|
+
"description": "Add elements to a HyperLogLog for approximate cardinality counting.",
|
|
823
|
+
"type": "command",
|
|
824
|
+
"module": "HyperLogLog"
|
|
825
|
+
},
|
|
826
|
+
"PFCOUNT": {
|
|
827
|
+
"signature": "PFCOUNT key [key ...]",
|
|
828
|
+
"description": "Return the approximate cardinality. With multiple keys, returns union cardinality.",
|
|
829
|
+
"type": "command",
|
|
830
|
+
"module": "HyperLogLog"
|
|
831
|
+
},
|
|
832
|
+
"PFMERGE": {
|
|
833
|
+
"signature": "PFMERGE destkey sourcekey [sourcekey ...]",
|
|
834
|
+
"description": "Merge multiple HyperLogLogs into one.",
|
|
835
|
+
"type": "command",
|
|
836
|
+
"module": "HyperLogLog"
|
|
837
|
+
},
|
|
838
|
+
"SETBIT": {
|
|
839
|
+
"signature": "SETBIT key offset value",
|
|
840
|
+
"description": "Set or clear the bit at offset (0 or 1). Returns the original bit.",
|
|
841
|
+
"type": "command",
|
|
842
|
+
"module": "Bitmaps"
|
|
843
|
+
},
|
|
844
|
+
"GETBIT": {
|
|
845
|
+
"signature": "GETBIT key offset",
|
|
846
|
+
"description": "Returns the bit value at offset.",
|
|
847
|
+
"type": "command",
|
|
848
|
+
"module": "Bitmaps"
|
|
849
|
+
},
|
|
850
|
+
"BITCOUNT": {
|
|
851
|
+
"signature": "BITCOUNT key [start end [BYTE|BIT]]",
|
|
852
|
+
"description": "Count set bits (1s) in a string, optionally in a range.",
|
|
853
|
+
"type": "command",
|
|
854
|
+
"module": "Bitmaps"
|
|
855
|
+
},
|
|
856
|
+
"BITOP": {
|
|
857
|
+
"signature": "BITOP AND|OR|XOR|NOT destkey key [key ...]",
|
|
858
|
+
"description": "Perform bitwise operations between string keys.",
|
|
859
|
+
"type": "command",
|
|
860
|
+
"module": "Bitmaps"
|
|
861
|
+
},
|
|
862
|
+
"BITPOS": {
|
|
863
|
+
"signature": "BITPOS key bit [start [end [BYTE|BIT]]]",
|
|
864
|
+
"description": "Return position of first set/clear bit.",
|
|
865
|
+
"type": "command",
|
|
866
|
+
"module": "Bitmaps"
|
|
867
|
+
},
|
|
868
|
+
"BITFIELD": {
|
|
869
|
+
"signature": "BITFIELD key [GET type offset] [SET type offset value] [INCRBY type offset increment] [OVERFLOW WRAP|SAT|FAIL]",
|
|
870
|
+
"description": "Perform arbitrary bitfield integer operations on strings.",
|
|
871
|
+
"type": "command",
|
|
872
|
+
"module": "Bitmaps"
|
|
873
|
+
},
|
|
874
|
+
"BITFIELD_RO": {
|
|
875
|
+
"signature": "BITFIELD_RO key GET type offset [GET type offset ...]",
|
|
876
|
+
"description": "Read-only variant of BITFIELD. Redis 6.0+.",
|
|
877
|
+
"type": "command",
|
|
878
|
+
"module": "Bitmaps"
|
|
879
|
+
},
|
|
880
|
+
"XADD": {
|
|
881
|
+
"signature": "XADD key [NOMKSTREAM] [MAXLEN|MINID [=|~] threshold] *|id field value [field value ...]",
|
|
882
|
+
"description": "Append a new entry to a stream. Use * for auto-generated ID.",
|
|
883
|
+
"type": "command",
|
|
884
|
+
"module": "Streams"
|
|
885
|
+
},
|
|
886
|
+
"XLEN": {
|
|
887
|
+
"signature": "XLEN key",
|
|
888
|
+
"description": "Return the number of entries in a stream.",
|
|
889
|
+
"type": "command",
|
|
890
|
+
"module": "Streams"
|
|
891
|
+
},
|
|
892
|
+
"XRANGE": {
|
|
893
|
+
"signature": "XRANGE key start end [COUNT count]",
|
|
894
|
+
"description": "Return entries in a range. Use - and + for min/max IDs.",
|
|
895
|
+
"type": "command",
|
|
896
|
+
"module": "Streams"
|
|
897
|
+
},
|
|
898
|
+
"XREVRANGE": {
|
|
899
|
+
"signature": "XREVRANGE key end start [COUNT count]",
|
|
900
|
+
"description": "Return entries in reverse order.",
|
|
901
|
+
"type": "command",
|
|
902
|
+
"module": "Streams"
|
|
903
|
+
},
|
|
904
|
+
"XREAD": {
|
|
905
|
+
"signature": "XREAD [COUNT count] [BLOCK ms] STREAMS key [key ...] id [id ...]",
|
|
906
|
+
"description": "Read from one or more streams. Use $ for only new entries.",
|
|
907
|
+
"type": "command",
|
|
908
|
+
"module": "Streams"
|
|
909
|
+
},
|
|
910
|
+
"XGROUP CREATE": {
|
|
911
|
+
"signature": "XGROUP CREATE key group id|$ [MKSTREAM] [ENTRIESREAD n]",
|
|
912
|
+
"description": "Create a consumer group on a stream.",
|
|
913
|
+
"type": "command",
|
|
914
|
+
"module": "Streams"
|
|
915
|
+
},
|
|
916
|
+
"XGROUP DESTROY": {
|
|
917
|
+
"signature": "XGROUP DESTROY key group",
|
|
918
|
+
"description": "Destroy a consumer group.",
|
|
919
|
+
"type": "command",
|
|
920
|
+
"module": "Streams"
|
|
921
|
+
},
|
|
922
|
+
"XGROUP DELCONSUMER": {
|
|
923
|
+
"signature": "XGROUP DELCONSUMER key group consumer",
|
|
924
|
+
"description": "Remove a consumer from a group.",
|
|
925
|
+
"type": "command",
|
|
926
|
+
"module": "Streams"
|
|
927
|
+
},
|
|
928
|
+
"XGROUP SETID": {
|
|
929
|
+
"signature": "XGROUP SETID key group id|$ [ENTRIESREAD n]",
|
|
930
|
+
"description": "Set the last delivered ID of a consumer group.",
|
|
931
|
+
"type": "command",
|
|
932
|
+
"module": "Streams"
|
|
933
|
+
},
|
|
934
|
+
"XREADGROUP": {
|
|
935
|
+
"signature": "XREADGROUP GROUP group consumer [COUNT count] [BLOCK ms] [NOACK] STREAMS key [key ...] id [id ...]",
|
|
936
|
+
"description": "Read from a stream as a consumer group member. Use > for undelivered messages.",
|
|
937
|
+
"type": "command",
|
|
938
|
+
"module": "Streams"
|
|
939
|
+
},
|
|
940
|
+
"XACK": {
|
|
941
|
+
"signature": "XACK key group id [id ...]",
|
|
942
|
+
"description": "Acknowledge messages, removing them from the pending entries list.",
|
|
943
|
+
"type": "command",
|
|
944
|
+
"module": "Streams"
|
|
945
|
+
},
|
|
946
|
+
"XCLAIM": {
|
|
947
|
+
"signature": "XCLAIM key group consumer min-idle-time id [id ...] [IDLE ms] [TIME ms] [RETRYCOUNT n] [FORCE] [JUSTID]",
|
|
948
|
+
"description": "Transfer ownership of pending messages to another consumer.",
|
|
949
|
+
"type": "command",
|
|
950
|
+
"module": "Streams"
|
|
951
|
+
},
|
|
952
|
+
"XAUTOCLAIM": {
|
|
953
|
+
"signature": "XAUTOCLAIM key group consumer min-idle-time start [COUNT count] [JUSTID]",
|
|
954
|
+
"description": "Auto-transfer idle pending messages. Redis 6.2+.",
|
|
955
|
+
"type": "command",
|
|
956
|
+
"module": "Streams"
|
|
957
|
+
},
|
|
958
|
+
"XPENDING": {
|
|
959
|
+
"signature": "XPENDING key group [[IDLE min-idle-time] start end count [consumer]]",
|
|
960
|
+
"description": "Inspect the pending entries list (PEL) for a consumer group.",
|
|
961
|
+
"type": "command",
|
|
962
|
+
"module": "Streams"
|
|
963
|
+
},
|
|
964
|
+
"XINFO STREAM": {
|
|
965
|
+
"signature": "XINFO STREAM key [FULL [COUNT count]]",
|
|
966
|
+
"description": "Get information about a stream.",
|
|
967
|
+
"type": "command",
|
|
968
|
+
"module": "Streams"
|
|
969
|
+
},
|
|
970
|
+
"XINFO GROUPS": {
|
|
971
|
+
"signature": "XINFO GROUPS key",
|
|
972
|
+
"description": "List consumer groups for a stream.",
|
|
973
|
+
"type": "command",
|
|
974
|
+
"module": "Streams"
|
|
975
|
+
},
|
|
976
|
+
"XINFO CONSUMERS": {
|
|
977
|
+
"signature": "XINFO CONSUMERS key group",
|
|
978
|
+
"description": "List consumers in a consumer group.",
|
|
979
|
+
"type": "command",
|
|
980
|
+
"module": "Streams"
|
|
981
|
+
},
|
|
982
|
+
"XTRIM": {
|
|
983
|
+
"signature": "XTRIM key MAXLEN|MINID [=|~] threshold",
|
|
984
|
+
"description": "Trim stream to a maximum length or minimum ID.",
|
|
985
|
+
"type": "command",
|
|
986
|
+
"module": "Streams"
|
|
987
|
+
},
|
|
988
|
+
"XDEL": {
|
|
989
|
+
"signature": "XDEL key id [id ...]",
|
|
990
|
+
"description": "Delete specific entries from a stream by ID.",
|
|
991
|
+
"type": "command",
|
|
992
|
+
"module": "Streams"
|
|
993
|
+
},
|
|
994
|
+
"XSETID": {
|
|
995
|
+
"signature": "XSETID key last-id [ENTRIESADDED n] [MAXDELETEDID id]",
|
|
996
|
+
"description": "Set the last entry ID of a stream.",
|
|
997
|
+
"type": "command",
|
|
998
|
+
"module": "Streams"
|
|
999
|
+
},
|
|
1000
|
+
"SUBSCRIBE": {
|
|
1001
|
+
"signature": "SUBSCRIBE channel [channel ...]",
|
|
1002
|
+
"description": "Listen for messages on one or more channels.",
|
|
1003
|
+
"type": "command",
|
|
1004
|
+
"module": "Pub/Sub"
|
|
1005
|
+
},
|
|
1006
|
+
"UNSUBSCRIBE": {
|
|
1007
|
+
"signature": "UNSUBSCRIBE [channel ...]",
|
|
1008
|
+
"description": "Stop listening from channels.",
|
|
1009
|
+
"type": "command",
|
|
1010
|
+
"module": "Pub/Sub"
|
|
1011
|
+
},
|
|
1012
|
+
"PUBLISH": {
|
|
1013
|
+
"signature": "PUBLISH channel message",
|
|
1014
|
+
"description": "Post a message to a channel. Returns the number of receivers.",
|
|
1015
|
+
"type": "command",
|
|
1016
|
+
"module": "Pub/Sub"
|
|
1017
|
+
},
|
|
1018
|
+
"PSUBSCRIBE": {
|
|
1019
|
+
"signature": "PSUBSCRIBE pattern [pattern ...]",
|
|
1020
|
+
"description": "Subscribe to channels matching glob-style patterns.",
|
|
1021
|
+
"type": "command",
|
|
1022
|
+
"module": "Pub/Sub"
|
|
1023
|
+
},
|
|
1024
|
+
"PUNSUBSCRIBE": {
|
|
1025
|
+
"signature": "PUNSUBSCRIBE [pattern ...]",
|
|
1026
|
+
"description": "Stop listening from pattern channels.",
|
|
1027
|
+
"type": "command",
|
|
1028
|
+
"module": "Pub/Sub"
|
|
1029
|
+
},
|
|
1030
|
+
"PUBSUB CHANNELS": {
|
|
1031
|
+
"signature": "PUBSUB CHANNELS [pattern]",
|
|
1032
|
+
"description": "List active channels. Optionally filter by pattern.",
|
|
1033
|
+
"type": "command",
|
|
1034
|
+
"module": "Pub/Sub"
|
|
1035
|
+
},
|
|
1036
|
+
"PUBSUB NUMSUB": {
|
|
1037
|
+
"signature": "PUBSUB NUMSUB [channel ...]",
|
|
1038
|
+
"description": "Get subscriber counts for channels.",
|
|
1039
|
+
"type": "command",
|
|
1040
|
+
"module": "Pub/Sub"
|
|
1041
|
+
},
|
|
1042
|
+
"PUBSUB NUMPAT": {
|
|
1043
|
+
"signature": "PUBSUB NUMPAT",
|
|
1044
|
+
"description": "Get the count of unique pattern subscriptions.",
|
|
1045
|
+
"type": "command",
|
|
1046
|
+
"module": "Pub/Sub"
|
|
1047
|
+
},
|
|
1048
|
+
"SSUBSCRIBE": {
|
|
1049
|
+
"signature": "SSUBSCRIBE channel [channel ...]",
|
|
1050
|
+
"description": "Subscribe to shard channels. Redis 7.0+.",
|
|
1051
|
+
"type": "command",
|
|
1052
|
+
"module": "Pub/Sub"
|
|
1053
|
+
},
|
|
1054
|
+
"SUNSUBSCRIBE": {
|
|
1055
|
+
"signature": "SUNSUBSCRIBE [channel ...]",
|
|
1056
|
+
"description": "Unsubscribe from shard channels. Redis 7.0+.",
|
|
1057
|
+
"type": "command",
|
|
1058
|
+
"module": "Pub/Sub"
|
|
1059
|
+
},
|
|
1060
|
+
"SPUBLISH": {
|
|
1061
|
+
"signature": "SPUBLISH channel message",
|
|
1062
|
+
"description": "Publish to a shard channel. Redis 7.0+.",
|
|
1063
|
+
"type": "command",
|
|
1064
|
+
"module": "Pub/Sub"
|
|
1065
|
+
},
|
|
1066
|
+
"PUBSUB SHARDCHANNELS": {
|
|
1067
|
+
"signature": "PUBSUB SHARDCHANNELS [pattern]",
|
|
1068
|
+
"description": "List active shard channels. Redis 7.0+.",
|
|
1069
|
+
"type": "command",
|
|
1070
|
+
"module": "Pub/Sub"
|
|
1071
|
+
},
|
|
1072
|
+
"PUBSUB SHARDNUMSUB": {
|
|
1073
|
+
"signature": "PUBSUB SHARDNUMSUB [channel ...]",
|
|
1074
|
+
"description": "Get shard channel subscriber counts. Redis 7.0+.",
|
|
1075
|
+
"type": "command",
|
|
1076
|
+
"module": "Pub/Sub"
|
|
1077
|
+
},
|
|
1078
|
+
"MULTI": {
|
|
1079
|
+
"signature": "MULTI",
|
|
1080
|
+
"description": "Mark the start of a transaction block. Commands are queued until EXEC.",
|
|
1081
|
+
"type": "command",
|
|
1082
|
+
"module": "Transactions"
|
|
1083
|
+
},
|
|
1084
|
+
"EXEC": {
|
|
1085
|
+
"signature": "EXEC",
|
|
1086
|
+
"description": "Execute all queued commands in the transaction. Returns nil if WATCH detected a change.",
|
|
1087
|
+
"type": "command",
|
|
1088
|
+
"module": "Transactions"
|
|
1089
|
+
},
|
|
1090
|
+
"DISCARD": {
|
|
1091
|
+
"signature": "DISCARD",
|
|
1092
|
+
"description": "Discard all queued commands in the current transaction.",
|
|
1093
|
+
"type": "command",
|
|
1094
|
+
"module": "Transactions"
|
|
1095
|
+
},
|
|
1096
|
+
"WATCH": {
|
|
1097
|
+
"signature": "WATCH key [key ...]",
|
|
1098
|
+
"description": "Watch keys for changes. If any watched key is modified before EXEC, the transaction is aborted (optimistic locking).",
|
|
1099
|
+
"type": "command",
|
|
1100
|
+
"module": "Transactions"
|
|
1101
|
+
},
|
|
1102
|
+
"UNWATCH": {
|
|
1103
|
+
"signature": "UNWATCH",
|
|
1104
|
+
"description": "Forget all watched keys.",
|
|
1105
|
+
"type": "command",
|
|
1106
|
+
"module": "Transactions"
|
|
1107
|
+
},
|
|
1108
|
+
"EVAL": {
|
|
1109
|
+
"signature": "EVAL script numkeys [key ...] [arg ...]",
|
|
1110
|
+
"description": "Execute a Lua script server-side. Scripts are atomic.",
|
|
1111
|
+
"type": "command",
|
|
1112
|
+
"module": "Scripting"
|
|
1113
|
+
},
|
|
1114
|
+
"EVALSHA": {
|
|
1115
|
+
"signature": "EVALSHA sha1 numkeys [key ...] [arg ...]",
|
|
1116
|
+
"description": "Execute a cached Lua script by SHA1 hash.",
|
|
1117
|
+
"type": "command",
|
|
1118
|
+
"module": "Scripting"
|
|
1119
|
+
},
|
|
1120
|
+
"EVALRO": {
|
|
1121
|
+
"signature": "EVALRO script numkeys [key ...] [arg ...]",
|
|
1122
|
+
"description": "Execute Lua script in read-only mode. Redis 7.0+.",
|
|
1123
|
+
"type": "command",
|
|
1124
|
+
"module": "Scripting"
|
|
1125
|
+
},
|
|
1126
|
+
"EVALSHA_RO": {
|
|
1127
|
+
"signature": "EVALSHA_RO sha1 numkeys [key ...] [arg ...]",
|
|
1128
|
+
"description": "Execute cached script in read-only mode. Redis 7.0+.",
|
|
1129
|
+
"type": "command",
|
|
1130
|
+
"module": "Scripting"
|
|
1131
|
+
},
|
|
1132
|
+
"SCRIPT LOAD": {
|
|
1133
|
+
"signature": "SCRIPT LOAD script",
|
|
1134
|
+
"description": "Load a Lua script into the script cache. Returns SHA1 hash.",
|
|
1135
|
+
"type": "command",
|
|
1136
|
+
"module": "Scripting"
|
|
1137
|
+
},
|
|
1138
|
+
"SCRIPT EXISTS": {
|
|
1139
|
+
"signature": "SCRIPT EXISTS sha1 [sha1 ...]",
|
|
1140
|
+
"description": "Check if scripts exist in the script cache.",
|
|
1141
|
+
"type": "command",
|
|
1142
|
+
"module": "Scripting"
|
|
1143
|
+
},
|
|
1144
|
+
"SCRIPT FLUSH": {
|
|
1145
|
+
"signature": "SCRIPT FLUSH [ASYNC|SYNC]",
|
|
1146
|
+
"description": "Remove all scripts from the script cache.",
|
|
1147
|
+
"type": "command",
|
|
1148
|
+
"module": "Scripting"
|
|
1149
|
+
},
|
|
1150
|
+
"SCRIPT KILL": {
|
|
1151
|
+
"signature": "SCRIPT KILL",
|
|
1152
|
+
"description": "Kill the currently executing Lua script.",
|
|
1153
|
+
"type": "command",
|
|
1154
|
+
"module": "Scripting"
|
|
1155
|
+
},
|
|
1156
|
+
"FUNCTION LOAD": {
|
|
1157
|
+
"signature": "FUNCTION LOAD [REPLACE] function-code",
|
|
1158
|
+
"description": "Load a function library. Redis 7.0+. Functions persist across restarts.",
|
|
1159
|
+
"type": "command",
|
|
1160
|
+
"module": "Scripting"
|
|
1161
|
+
},
|
|
1162
|
+
"FCALL": {
|
|
1163
|
+
"signature": "FCALL function numkeys [key ...] [arg ...]",
|
|
1164
|
+
"description": "Call a loaded Redis function. Redis 7.0+.",
|
|
1165
|
+
"type": "command",
|
|
1166
|
+
"module": "Scripting"
|
|
1167
|
+
},
|
|
1168
|
+
"FCALL_RO": {
|
|
1169
|
+
"signature": "FCALL_RO function numkeys [key ...] [arg ...]",
|
|
1170
|
+
"description": "Call a function in read-only mode. Redis 7.0+.",
|
|
1171
|
+
"type": "command",
|
|
1172
|
+
"module": "Scripting"
|
|
1173
|
+
},
|
|
1174
|
+
"FUNCTION LIST": {
|
|
1175
|
+
"signature": "FUNCTION LIST [LIBRARYNAME pattern] [WITHCODE]",
|
|
1176
|
+
"description": "List loaded function libraries. Redis 7.0+.",
|
|
1177
|
+
"type": "command",
|
|
1178
|
+
"module": "Scripting"
|
|
1179
|
+
},
|
|
1180
|
+
"FUNCTION DUMP": {
|
|
1181
|
+
"signature": "FUNCTION DUMP",
|
|
1182
|
+
"description": "Serialize all loaded functions. Redis 7.0+.",
|
|
1183
|
+
"type": "command",
|
|
1184
|
+
"module": "Scripting"
|
|
1185
|
+
},
|
|
1186
|
+
"FUNCTION RESTORE": {
|
|
1187
|
+
"signature": "FUNCTION RESTORE serialized-data [FLUSH|APPEND|REPLACE]",
|
|
1188
|
+
"description": "Restore functions from FUNCTION DUMP. Redis 7.0+.",
|
|
1189
|
+
"type": "command",
|
|
1190
|
+
"module": "Scripting"
|
|
1191
|
+
},
|
|
1192
|
+
"FUNCTION FLUSH": {
|
|
1193
|
+
"signature": "FUNCTION FLUSH [ASYNC|SYNC]",
|
|
1194
|
+
"description": "Delete all loaded functions. Redis 7.0+.",
|
|
1195
|
+
"type": "command",
|
|
1196
|
+
"module": "Scripting"
|
|
1197
|
+
},
|
|
1198
|
+
"FUNCTION DELETE": {
|
|
1199
|
+
"signature": "FUNCTION DELETE library-name",
|
|
1200
|
+
"description": "Delete a function library. Redis 7.0+.",
|
|
1201
|
+
"type": "command",
|
|
1202
|
+
"module": "Scripting"
|
|
1203
|
+
},
|
|
1204
|
+
"FUNCTION STATS": {
|
|
1205
|
+
"signature": "FUNCTION STATS",
|
|
1206
|
+
"description": "Get function execution statistics. Redis 7.0+.",
|
|
1207
|
+
"type": "command",
|
|
1208
|
+
"module": "Scripting"
|
|
1209
|
+
},
|
|
1210
|
+
"GEOADD": {
|
|
1211
|
+
"signature": "GEOADD key [NX|XX] [CH] longitude latitude member [lon lat member ...]",
|
|
1212
|
+
"description": "Add geospatial items to a sorted set.",
|
|
1213
|
+
"type": "command",
|
|
1214
|
+
"module": "Geo"
|
|
1215
|
+
},
|
|
1216
|
+
"GEODIST": {
|
|
1217
|
+
"signature": "GEODIST key member1 member2 [M|KM|FT|MI]",
|
|
1218
|
+
"description": "Return distance between two geospatial members.",
|
|
1219
|
+
"type": "command",
|
|
1220
|
+
"module": "Geo"
|
|
1221
|
+
},
|
|
1222
|
+
"GEOHASH": {
|
|
1223
|
+
"signature": "GEOHASH key member [member ...]",
|
|
1224
|
+
"description": "Return Geohash strings representing positions.",
|
|
1225
|
+
"type": "command",
|
|
1226
|
+
"module": "Geo"
|
|
1227
|
+
},
|
|
1228
|
+
"GEOPOS": {
|
|
1229
|
+
"signature": "GEOPOS key member [member ...]",
|
|
1230
|
+
"description": "Return longitude/latitude of members.",
|
|
1231
|
+
"type": "command",
|
|
1232
|
+
"module": "Geo"
|
|
1233
|
+
},
|
|
1234
|
+
"GEOSEARCH": {
|
|
1235
|
+
"signature": "GEOSEARCH key FROMMEMBER member|FROMLONLAT lon lat BYRADIUS radius M|KM|FT|MI|BYBOX w h M|KM|FT|MI [ASC|DESC] [COUNT n [ANY]] [WITHCOORD] [WITHDIST] [WITHHASH]",
|
|
1236
|
+
"description": "Search for geo members in radius or box. Redis 6.2+.",
|
|
1237
|
+
"type": "command",
|
|
1238
|
+
"module": "Geo"
|
|
1239
|
+
},
|
|
1240
|
+
"GEOSEARCHSTORE": {
|
|
1241
|
+
"signature": "GEOSEARCHSTORE dest src FROMMEMBER member|FROMLONLAT lon lat BYRADIUS ...|BYBOX ... [ASC|DESC] [COUNT n] [STOREDIST]",
|
|
1242
|
+
"description": "Store GEOSEARCH results. Redis 6.2+.",
|
|
1243
|
+
"type": "command",
|
|
1244
|
+
"module": "Geo"
|
|
1245
|
+
},
|
|
1246
|
+
"GEORADIUS": {
|
|
1247
|
+
"signature": "GEORADIUS key longitude latitude radius M|KM|FT|MI [WITHCOORD] [WITHDIST] [WITHHASH] [COUNT n] [ASC|DESC] [STORE key] [STOREDIST key]",
|
|
1248
|
+
"description": "Query by radius from coordinates. Deprecated — use GEOSEARCH.",
|
|
1249
|
+
"type": "command",
|
|
1250
|
+
"module": "Geo"
|
|
1251
|
+
},
|
|
1252
|
+
"GEORADIUSBYMEMBER": {
|
|
1253
|
+
"signature": "GEORADIUSBYMEMBER key member radius M|KM|FT|MI ...",
|
|
1254
|
+
"description": "Query by radius from a member. Deprecated — use GEOSEARCH.",
|
|
1255
|
+
"type": "command",
|
|
1256
|
+
"module": "Geo"
|
|
1257
|
+
},
|
|
1258
|
+
"INFO": {
|
|
1259
|
+
"signature": "INFO [section ...]",
|
|
1260
|
+
"description": "Get server info: server, clients, memory, persistence, stats, replication, cpu, commandstats, keyspace, etc.",
|
|
1261
|
+
"type": "command",
|
|
1262
|
+
"module": "Server"
|
|
1263
|
+
},
|
|
1264
|
+
"CONFIG GET": {
|
|
1265
|
+
"signature": "CONFIG GET parameter [parameter ...]",
|
|
1266
|
+
"description": "Get configuration parameter values. Supports glob patterns.",
|
|
1267
|
+
"type": "command",
|
|
1268
|
+
"module": "Server"
|
|
1269
|
+
},
|
|
1270
|
+
"CONFIG SET": {
|
|
1271
|
+
"signature": "CONFIG SET parameter value [parameter value ...]",
|
|
1272
|
+
"description": "Dynamically set configuration parameters without restart.",
|
|
1273
|
+
"type": "command",
|
|
1274
|
+
"module": "Server"
|
|
1275
|
+
},
|
|
1276
|
+
"CONFIG RESETSTAT": {
|
|
1277
|
+
"signature": "CONFIG RESETSTAT",
|
|
1278
|
+
"description": "Reset the statistics returned by INFO.",
|
|
1279
|
+
"type": "command",
|
|
1280
|
+
"module": "Server"
|
|
1281
|
+
},
|
|
1282
|
+
"CONFIG REWRITE": {
|
|
1283
|
+
"signature": "CONFIG REWRITE",
|
|
1284
|
+
"description": "Rewrite the redis.conf file with current in-memory configuration.",
|
|
1285
|
+
"type": "command",
|
|
1286
|
+
"module": "Server"
|
|
1287
|
+
},
|
|
1288
|
+
"DBSIZE": {
|
|
1289
|
+
"signature": "DBSIZE",
|
|
1290
|
+
"description": "Return the number of keys in the current database.",
|
|
1291
|
+
"type": "command",
|
|
1292
|
+
"module": "Server"
|
|
1293
|
+
},
|
|
1294
|
+
"FLUSHDB": {
|
|
1295
|
+
"signature": "FLUSHDB [ASYNC|SYNC]",
|
|
1296
|
+
"description": "Remove all keys from the current database.",
|
|
1297
|
+
"type": "command",
|
|
1298
|
+
"module": "Server"
|
|
1299
|
+
},
|
|
1300
|
+
"FLUSHALL": {
|
|
1301
|
+
"signature": "FLUSHALL [ASYNC|SYNC]",
|
|
1302
|
+
"description": "Remove all keys from all databases.",
|
|
1303
|
+
"type": "command",
|
|
1304
|
+
"module": "Server"
|
|
1305
|
+
},
|
|
1306
|
+
"BGSAVE": {
|
|
1307
|
+
"signature": "BGSAVE [SCHEDULE]",
|
|
1308
|
+
"description": "Trigger an asynchronous RDB snapshot.",
|
|
1309
|
+
"type": "command",
|
|
1310
|
+
"module": "Server"
|
|
1311
|
+
},
|
|
1312
|
+
"BGREWRITEAOF": {
|
|
1313
|
+
"signature": "BGREWRITEAOF",
|
|
1314
|
+
"description": "Trigger an asynchronous AOF rewrite.",
|
|
1315
|
+
"type": "command",
|
|
1316
|
+
"module": "Server"
|
|
1317
|
+
},
|
|
1318
|
+
"SAVE": {
|
|
1319
|
+
"signature": "SAVE",
|
|
1320
|
+
"description": "Synchronously save the dataset to disk. BLOCKS the server.",
|
|
1321
|
+
"type": "command",
|
|
1322
|
+
"module": "Server"
|
|
1323
|
+
},
|
|
1324
|
+
"LASTSAVE": {
|
|
1325
|
+
"signature": "LASTSAVE",
|
|
1326
|
+
"description": "Return the Unix timestamp of the last successful RDB save.",
|
|
1327
|
+
"type": "command",
|
|
1328
|
+
"module": "Server"
|
|
1329
|
+
},
|
|
1330
|
+
"SHUTDOWN": {
|
|
1331
|
+
"signature": "SHUTDOWN [NOSAVE|SAVE] [NOW] [FORCE]",
|
|
1332
|
+
"description": "Synchronously save (unless NOSAVE) and shut down the server.",
|
|
1333
|
+
"type": "command",
|
|
1334
|
+
"module": "Server"
|
|
1335
|
+
},
|
|
1336
|
+
"SLOWLOG GET": {
|
|
1337
|
+
"signature": "SLOWLOG GET [count]",
|
|
1338
|
+
"description": "Get entries from the slow log.",
|
|
1339
|
+
"type": "command",
|
|
1340
|
+
"module": "Server"
|
|
1341
|
+
},
|
|
1342
|
+
"SLOWLOG LEN": {
|
|
1343
|
+
"signature": "SLOWLOG LEN",
|
|
1344
|
+
"description": "Get the number of entries in the slow log.",
|
|
1345
|
+
"type": "command",
|
|
1346
|
+
"module": "Server"
|
|
1347
|
+
},
|
|
1348
|
+
"SLOWLOG RESET": {
|
|
1349
|
+
"signature": "SLOWLOG RESET",
|
|
1350
|
+
"description": "Reset the slow log.",
|
|
1351
|
+
"type": "command",
|
|
1352
|
+
"module": "Server"
|
|
1353
|
+
},
|
|
1354
|
+
"TIME": {
|
|
1355
|
+
"signature": "TIME",
|
|
1356
|
+
"description": "Return the current server time as [unix-seconds, microseconds].",
|
|
1357
|
+
"type": "command",
|
|
1358
|
+
"module": "Server"
|
|
1359
|
+
},
|
|
1360
|
+
"CLIENT LIST": {
|
|
1361
|
+
"signature": "CLIENT LIST [TYPE normal|master|replica|pubsub] [ID id ...]",
|
|
1362
|
+
"description": "List connected clients with details.",
|
|
1363
|
+
"type": "command",
|
|
1364
|
+
"module": "Server"
|
|
1365
|
+
},
|
|
1366
|
+
"CLIENT ID": {
|
|
1367
|
+
"signature": "CLIENT ID",
|
|
1368
|
+
"description": "Return the ID of the current connection.",
|
|
1369
|
+
"type": "command",
|
|
1370
|
+
"module": "Server"
|
|
1371
|
+
},
|
|
1372
|
+
"CLIENT GETNAME": {
|
|
1373
|
+
"signature": "CLIENT GETNAME",
|
|
1374
|
+
"description": "Get the name of the current connection.",
|
|
1375
|
+
"type": "command",
|
|
1376
|
+
"module": "Server"
|
|
1377
|
+
},
|
|
1378
|
+
"CLIENT SETNAME": {
|
|
1379
|
+
"signature": "CLIENT SETNAME name",
|
|
1380
|
+
"description": "Set the name of the current connection.",
|
|
1381
|
+
"type": "command",
|
|
1382
|
+
"module": "Server"
|
|
1383
|
+
},
|
|
1384
|
+
"CLIENT KILL": {
|
|
1385
|
+
"signature": "CLIENT KILL [ID id] [TYPE type] [USER username] [ADDR ip:port] [LADDR ip:port] [SKIPME yes|no]",
|
|
1386
|
+
"description": "Kill client connections.",
|
|
1387
|
+
"type": "command",
|
|
1388
|
+
"module": "Server"
|
|
1389
|
+
},
|
|
1390
|
+
"CLIENT PAUSE": {
|
|
1391
|
+
"signature": "CLIENT PAUSE timeout [WRITE|ALL]",
|
|
1392
|
+
"description": "Pause all clients for timeout milliseconds.",
|
|
1393
|
+
"type": "command",
|
|
1394
|
+
"module": "Server"
|
|
1395
|
+
},
|
|
1396
|
+
"CLIENT UNPAUSE": {
|
|
1397
|
+
"signature": "CLIENT UNPAUSE",
|
|
1398
|
+
"description": "Resume client processing after CLIENT PAUSE.",
|
|
1399
|
+
"type": "command",
|
|
1400
|
+
"module": "Server"
|
|
1401
|
+
},
|
|
1402
|
+
"CLIENT NO-EVICT": {
|
|
1403
|
+
"signature": "CLIENT NO-EVICT ON|OFF",
|
|
1404
|
+
"description": "Exempt current connection from client eviction. Redis 7.0+.",
|
|
1405
|
+
"type": "command",
|
|
1406
|
+
"module": "Server"
|
|
1407
|
+
},
|
|
1408
|
+
"CLIENT NO-TOUCH": {
|
|
1409
|
+
"signature": "CLIENT NO-TOUCH ON|OFF",
|
|
1410
|
+
"description": "Don't update key access time for current connection. Redis 7.2+.",
|
|
1411
|
+
"type": "command",
|
|
1412
|
+
"module": "Server"
|
|
1413
|
+
},
|
|
1414
|
+
"MONITOR": {
|
|
1415
|
+
"signature": "MONITOR",
|
|
1416
|
+
"description": "Stream every command processed by the server in real-time. Performance impact.",
|
|
1417
|
+
"type": "command",
|
|
1418
|
+
"module": "Server"
|
|
1419
|
+
},
|
|
1420
|
+
"PING": {
|
|
1421
|
+
"signature": "PING [message]",
|
|
1422
|
+
"description": "Test server connectivity. Returns PONG or echoes message.",
|
|
1423
|
+
"type": "command",
|
|
1424
|
+
"module": "Server"
|
|
1425
|
+
},
|
|
1426
|
+
"ECHO": {
|
|
1427
|
+
"signature": "ECHO message",
|
|
1428
|
+
"description": "Echo the given message back.",
|
|
1429
|
+
"type": "command",
|
|
1430
|
+
"module": "Server"
|
|
1431
|
+
},
|
|
1432
|
+
"SELECT": {
|
|
1433
|
+
"signature": "SELECT index",
|
|
1434
|
+
"description": "Switch to a different database (0-15 by default).",
|
|
1435
|
+
"type": "command",
|
|
1436
|
+
"module": "Server"
|
|
1437
|
+
},
|
|
1438
|
+
"SWAPDB": {
|
|
1439
|
+
"signature": "SWAPDB db1 db2",
|
|
1440
|
+
"description": "Swap two Redis databases atomically.",
|
|
1441
|
+
"type": "command",
|
|
1442
|
+
"module": "Server"
|
|
1443
|
+
},
|
|
1444
|
+
"MEMORY USAGE": {
|
|
1445
|
+
"signature": "MEMORY USAGE key [SAMPLES count]",
|
|
1446
|
+
"description": "Estimate memory consumption of a key in bytes.",
|
|
1447
|
+
"type": "command",
|
|
1448
|
+
"module": "Server"
|
|
1449
|
+
},
|
|
1450
|
+
"MEMORY DOCTOR": {
|
|
1451
|
+
"signature": "MEMORY DOCTOR",
|
|
1452
|
+
"description": "Report memory problems.",
|
|
1453
|
+
"type": "command",
|
|
1454
|
+
"module": "Server"
|
|
1455
|
+
},
|
|
1456
|
+
"MEMORY STATS": {
|
|
1457
|
+
"signature": "MEMORY STATS",
|
|
1458
|
+
"description": "Get detailed memory statistics.",
|
|
1459
|
+
"type": "command",
|
|
1460
|
+
"module": "Server"
|
|
1461
|
+
},
|
|
1462
|
+
"MEMORY PURGE": {
|
|
1463
|
+
"signature": "MEMORY PURGE",
|
|
1464
|
+
"description": "Ask allocator to release memory.",
|
|
1465
|
+
"type": "command",
|
|
1466
|
+
"module": "Server"
|
|
1467
|
+
},
|
|
1468
|
+
"MEMORY MALLOC-STATS": {
|
|
1469
|
+
"signature": "MEMORY MALLOC-STATS",
|
|
1470
|
+
"description": "Show internal allocator statistics.",
|
|
1471
|
+
"type": "command",
|
|
1472
|
+
"module": "Server"
|
|
1473
|
+
},
|
|
1474
|
+
"LATENCY LATEST": {
|
|
1475
|
+
"signature": "LATENCY LATEST",
|
|
1476
|
+
"description": "Return the latest latency samples for all event types.",
|
|
1477
|
+
"type": "command",
|
|
1478
|
+
"module": "Server"
|
|
1479
|
+
},
|
|
1480
|
+
"LATENCY HISTORY": {
|
|
1481
|
+
"signature": "LATENCY HISTORY event",
|
|
1482
|
+
"description": "Return latency history for a specific event.",
|
|
1483
|
+
"type": "command",
|
|
1484
|
+
"module": "Server"
|
|
1485
|
+
},
|
|
1486
|
+
"LATENCY RESET": {
|
|
1487
|
+
"signature": "LATENCY RESET [event ...]",
|
|
1488
|
+
"description": "Reset latency data for events.",
|
|
1489
|
+
"type": "command",
|
|
1490
|
+
"module": "Server"
|
|
1491
|
+
},
|
|
1492
|
+
"LATENCY GRAPH": {
|
|
1493
|
+
"signature": "LATENCY GRAPH event",
|
|
1494
|
+
"description": "Render an ASCII art latency graph for an event.",
|
|
1495
|
+
"type": "command",
|
|
1496
|
+
"module": "Server"
|
|
1497
|
+
},
|
|
1498
|
+
"DEBUG OBJECT": {
|
|
1499
|
+
"signature": "DEBUG OBJECT key",
|
|
1500
|
+
"description": "Get debugging info about a key's internal representation.",
|
|
1501
|
+
"type": "command",
|
|
1502
|
+
"module": "Server"
|
|
1503
|
+
},
|
|
1504
|
+
"COMMAND COUNT": {
|
|
1505
|
+
"signature": "COMMAND COUNT",
|
|
1506
|
+
"description": "Get total number of commands supported by the server.",
|
|
1507
|
+
"type": "command",
|
|
1508
|
+
"module": "Server"
|
|
1509
|
+
},
|
|
1510
|
+
"COMMAND LIST": {
|
|
1511
|
+
"signature": "COMMAND LIST [MODULE module] [ACLCAT cat] [PATTERN pattern]",
|
|
1512
|
+
"description": "List all command names.",
|
|
1513
|
+
"type": "command",
|
|
1514
|
+
"module": "Server"
|
|
1515
|
+
},
|
|
1516
|
+
"COMMAND INFO": {
|
|
1517
|
+
"signature": "COMMAND INFO [command ...]",
|
|
1518
|
+
"description": "Get details about specific commands.",
|
|
1519
|
+
"type": "command",
|
|
1520
|
+
"module": "Server"
|
|
1521
|
+
},
|
|
1522
|
+
"COMMAND GETKEYS": {
|
|
1523
|
+
"signature": "COMMAND GETKEYS command [arg ...]",
|
|
1524
|
+
"description": "Extract keys from a full command.",
|
|
1525
|
+
"type": "command",
|
|
1526
|
+
"module": "Server"
|
|
1527
|
+
},
|
|
1528
|
+
"COMMAND DOCS": {
|
|
1529
|
+
"signature": "COMMAND DOCS [command ...]",
|
|
1530
|
+
"description": "Get documentation for commands. Redis 7.0+.",
|
|
1531
|
+
"type": "command",
|
|
1532
|
+
"module": "Server"
|
|
1533
|
+
},
|
|
1534
|
+
"ACL LIST": {
|
|
1535
|
+
"signature": "ACL LIST",
|
|
1536
|
+
"description": "List all users and their ACL rules.",
|
|
1537
|
+
"type": "command",
|
|
1538
|
+
"module": "ACL"
|
|
1539
|
+
},
|
|
1540
|
+
"ACL USERS": {
|
|
1541
|
+
"signature": "ACL USERS",
|
|
1542
|
+
"description": "List all configured usernames.",
|
|
1543
|
+
"type": "command",
|
|
1544
|
+
"module": "ACL"
|
|
1545
|
+
},
|
|
1546
|
+
"ACL GETUSER": {
|
|
1547
|
+
"signature": "ACL GETUSER username",
|
|
1548
|
+
"description": "Get the ACL rules for a specific user.",
|
|
1549
|
+
"type": "command",
|
|
1550
|
+
"module": "ACL"
|
|
1551
|
+
},
|
|
1552
|
+
"ACL SETUSER": {
|
|
1553
|
+
"signature": "ACL SETUSER username [rule ...]",
|
|
1554
|
+
"description": "Create or modify a user's ACL. Rules: on/off, >password, ~pattern, +command, -command, +@category, allkeys, allcommands.",
|
|
1555
|
+
"type": "command",
|
|
1556
|
+
"module": "ACL"
|
|
1557
|
+
},
|
|
1558
|
+
"ACL DELUSER": {
|
|
1559
|
+
"signature": "ACL DELUSER username [username ...]",
|
|
1560
|
+
"description": "Delete ACL users.",
|
|
1561
|
+
"type": "command",
|
|
1562
|
+
"module": "ACL"
|
|
1563
|
+
},
|
|
1564
|
+
"ACL WHOAMI": {
|
|
1565
|
+
"signature": "ACL WHOAMI",
|
|
1566
|
+
"description": "Return the username of the current connection.",
|
|
1567
|
+
"type": "command",
|
|
1568
|
+
"module": "ACL"
|
|
1569
|
+
},
|
|
1570
|
+
"ACL CAT": {
|
|
1571
|
+
"signature": "ACL CAT [category]",
|
|
1572
|
+
"description": "List command categories, or commands in a category.",
|
|
1573
|
+
"type": "command",
|
|
1574
|
+
"module": "ACL"
|
|
1575
|
+
},
|
|
1576
|
+
"ACL GENPASS": {
|
|
1577
|
+
"signature": "ACL GENPASS [bits]",
|
|
1578
|
+
"description": "Generate a cryptographically secure password.",
|
|
1579
|
+
"type": "command",
|
|
1580
|
+
"module": "ACL"
|
|
1581
|
+
},
|
|
1582
|
+
"ACL LOG": {
|
|
1583
|
+
"signature": "ACL LOG [count|RESET]",
|
|
1584
|
+
"description": "Show recent security events (failed auth, denied commands).",
|
|
1585
|
+
"type": "command",
|
|
1586
|
+
"module": "ACL"
|
|
1587
|
+
},
|
|
1588
|
+
"ACL SAVE": {
|
|
1589
|
+
"signature": "ACL SAVE",
|
|
1590
|
+
"description": "Save the current ACL rules to the configured ACL file.",
|
|
1591
|
+
"type": "command",
|
|
1592
|
+
"module": "ACL"
|
|
1593
|
+
},
|
|
1594
|
+
"ACL LOAD": {
|
|
1595
|
+
"signature": "ACL LOAD",
|
|
1596
|
+
"description": "Load ACL rules from the configured ACL file.",
|
|
1597
|
+
"type": "command",
|
|
1598
|
+
"module": "ACL"
|
|
1599
|
+
},
|
|
1600
|
+
"AUTH": {
|
|
1601
|
+
"signature": "AUTH [username] password",
|
|
1602
|
+
"description": "Authenticate to the server. With Redis 6+ ACL, provide username.",
|
|
1603
|
+
"type": "command",
|
|
1604
|
+
"module": "ACL"
|
|
1605
|
+
},
|
|
1606
|
+
"CLUSTER INFO": {
|
|
1607
|
+
"signature": "CLUSTER INFO",
|
|
1608
|
+
"description": "Get cluster state: enabled, state, slots, nodes, messages.",
|
|
1609
|
+
"type": "command",
|
|
1610
|
+
"module": "Cluster"
|
|
1611
|
+
},
|
|
1612
|
+
"CLUSTER NODES": {
|
|
1613
|
+
"signature": "CLUSTER NODES",
|
|
1614
|
+
"description": "Get the cluster topology: node IDs, addresses, flags, slots.",
|
|
1615
|
+
"type": "command",
|
|
1616
|
+
"module": "Cluster"
|
|
1617
|
+
},
|
|
1618
|
+
"CLUSTER MYID": {
|
|
1619
|
+
"signature": "CLUSTER MYID",
|
|
1620
|
+
"description": "Return the node's cluster ID.",
|
|
1621
|
+
"type": "command",
|
|
1622
|
+
"module": "Cluster"
|
|
1623
|
+
},
|
|
1624
|
+
"CLUSTER SLOTS": {
|
|
1625
|
+
"signature": "CLUSTER SLOTS",
|
|
1626
|
+
"description": "Get mapping of hash slots to nodes. Deprecated — use CLUSTER SHARDS.",
|
|
1627
|
+
"type": "command",
|
|
1628
|
+
"module": "Cluster"
|
|
1629
|
+
},
|
|
1630
|
+
"CLUSTER SHARDS": {
|
|
1631
|
+
"signature": "CLUSTER SHARDS",
|
|
1632
|
+
"description": "Get detailed shard information. Redis 7.0+.",
|
|
1633
|
+
"type": "command",
|
|
1634
|
+
"module": "Cluster"
|
|
1635
|
+
},
|
|
1636
|
+
"CLUSTER MEET": {
|
|
1637
|
+
"signature": "CLUSTER MEET ip port",
|
|
1638
|
+
"description": "Add a node to the cluster.",
|
|
1639
|
+
"type": "command",
|
|
1640
|
+
"module": "Cluster"
|
|
1641
|
+
},
|
|
1642
|
+
"CLUSTER FORGET": {
|
|
1643
|
+
"signature": "CLUSTER FORGET node-id",
|
|
1644
|
+
"description": "Remove a node from the cluster's known nodes.",
|
|
1645
|
+
"type": "command",
|
|
1646
|
+
"module": "Cluster"
|
|
1647
|
+
},
|
|
1648
|
+
"CLUSTER REPLICATE": {
|
|
1649
|
+
"signature": "CLUSTER REPLICATE node-id",
|
|
1650
|
+
"description": "Make current node a replica of the specified master.",
|
|
1651
|
+
"type": "command",
|
|
1652
|
+
"module": "Cluster"
|
|
1653
|
+
},
|
|
1654
|
+
"CLUSTER FAILOVER": {
|
|
1655
|
+
"signature": "CLUSTER FAILOVER [FORCE|TAKEOVER]",
|
|
1656
|
+
"description": "Initiate manual failover. Run on a replica to promote it.",
|
|
1657
|
+
"type": "command",
|
|
1658
|
+
"module": "Cluster"
|
|
1659
|
+
},
|
|
1660
|
+
"CLUSTER RESET": {
|
|
1661
|
+
"signature": "CLUSTER RESET [HARD|SOFT]",
|
|
1662
|
+
"description": "Reset the cluster configuration of the node.",
|
|
1663
|
+
"type": "command",
|
|
1664
|
+
"module": "Cluster"
|
|
1665
|
+
},
|
|
1666
|
+
"CLUSTER ADDSLOTS": {
|
|
1667
|
+
"signature": "CLUSTER ADDSLOTS slot [slot ...]",
|
|
1668
|
+
"description": "Assign hash slots to this node.",
|
|
1669
|
+
"type": "command",
|
|
1670
|
+
"module": "Cluster"
|
|
1671
|
+
},
|
|
1672
|
+
"CLUSTER DELSLOTS": {
|
|
1673
|
+
"signature": "CLUSTER DELSLOTS slot [slot ...]",
|
|
1674
|
+
"description": "Remove hash slots from this node.",
|
|
1675
|
+
"type": "command",
|
|
1676
|
+
"module": "Cluster"
|
|
1677
|
+
},
|
|
1678
|
+
"CLUSTER SETSLOT": {
|
|
1679
|
+
"signature": "CLUSTER SETSLOT slot IMPORTING|MIGRATING|NODE|STABLE [node-id]",
|
|
1680
|
+
"description": "Bind, migrate, or stabilize a hash slot.",
|
|
1681
|
+
"type": "command",
|
|
1682
|
+
"module": "Cluster"
|
|
1683
|
+
},
|
|
1684
|
+
"CLUSTER COUNTKEYSINSLOT": {
|
|
1685
|
+
"signature": "CLUSTER COUNTKEYSINSLOT slot",
|
|
1686
|
+
"description": "Count keys in a specific hash slot.",
|
|
1687
|
+
"type": "command",
|
|
1688
|
+
"module": "Cluster"
|
|
1689
|
+
},
|
|
1690
|
+
"CLUSTER GETKEYSINSLOT": {
|
|
1691
|
+
"signature": "CLUSTER GETKEYSINSLOT slot count",
|
|
1692
|
+
"description": "Return keys assigned to a hash slot.",
|
|
1693
|
+
"type": "command",
|
|
1694
|
+
"module": "Cluster"
|
|
1695
|
+
},
|
|
1696
|
+
"CLUSTER KEYSLOT": {
|
|
1697
|
+
"signature": "CLUSTER KEYSLOT key",
|
|
1698
|
+
"description": "Return the hash slot number for a key.",
|
|
1699
|
+
"type": "command",
|
|
1700
|
+
"module": "Cluster"
|
|
1701
|
+
},
|
|
1702
|
+
"CLUSTER LINKS": {
|
|
1703
|
+
"signature": "CLUSTER LINKS",
|
|
1704
|
+
"description": "List cluster bus connections. Redis 7.0+.",
|
|
1705
|
+
"type": "command",
|
|
1706
|
+
"module": "Cluster"
|
|
1707
|
+
},
|
|
1708
|
+
"CLUSTER FLUSHSLOTS": {
|
|
1709
|
+
"signature": "CLUSTER FLUSHSLOTS",
|
|
1710
|
+
"description": "Delete all slot assignments from this node.",
|
|
1711
|
+
"type": "command",
|
|
1712
|
+
"module": "Cluster"
|
|
1713
|
+
},
|
|
1714
|
+
"CLUSTER SAVECONFIG": {
|
|
1715
|
+
"signature": "CLUSTER SAVECONFIG",
|
|
1716
|
+
"description": "Save the cluster configuration to nodes.conf.",
|
|
1717
|
+
"type": "command",
|
|
1718
|
+
"module": "Cluster"
|
|
1719
|
+
},
|
|
1720
|
+
"READONLY": {
|
|
1721
|
+
"signature": "READONLY",
|
|
1722
|
+
"description": "Enable read queries on a cluster replica. Allows reading from replicas.",
|
|
1723
|
+
"type": "command",
|
|
1724
|
+
"module": "Cluster"
|
|
1725
|
+
},
|
|
1726
|
+
"READWRITE": {
|
|
1727
|
+
"signature": "READWRITE",
|
|
1728
|
+
"description": "Disable READONLY mode. Replica rejects read queries.",
|
|
1729
|
+
"type": "command",
|
|
1730
|
+
"module": "Cluster"
|
|
1731
|
+
},
|
|
1732
|
+
"REPLICAOF": {
|
|
1733
|
+
"signature": "REPLICAOF host port | REPLICAOF NO ONE",
|
|
1734
|
+
"description": "Configure replication. REPLICAOF NO ONE promotes to master.",
|
|
1735
|
+
"type": "command",
|
|
1736
|
+
"module": "Replication"
|
|
1737
|
+
},
|
|
1738
|
+
"SLAVEOF": {
|
|
1739
|
+
"signature": "SLAVEOF host port | SLAVEOF NO ONE",
|
|
1740
|
+
"description": "Legacy alias for REPLICAOF.",
|
|
1741
|
+
"type": "command",
|
|
1742
|
+
"module": "Replication"
|
|
1743
|
+
},
|
|
1744
|
+
"FAILOVER": {
|
|
1745
|
+
"signature": "FAILOVER [TO host port [FORCE]] [ABORT] [TIMEOUT ms]",
|
|
1746
|
+
"description": "Coordinated failover to a replica. Redis 6.2+.",
|
|
1747
|
+
"type": "command",
|
|
1748
|
+
"module": "Replication"
|
|
1749
|
+
},
|
|
1750
|
+
"MODULE LOAD": {
|
|
1751
|
+
"signature": "MODULE LOAD path [arg ...]",
|
|
1752
|
+
"description": "Load a Redis module from a shared library.",
|
|
1753
|
+
"type": "command",
|
|
1754
|
+
"module": "Modules"
|
|
1755
|
+
},
|
|
1756
|
+
"MODULE LIST": {
|
|
1757
|
+
"signature": "MODULE LIST",
|
|
1758
|
+
"description": "List all loaded modules.",
|
|
1759
|
+
"type": "command",
|
|
1760
|
+
"module": "Modules"
|
|
1761
|
+
},
|
|
1762
|
+
"MODULE UNLOAD": {
|
|
1763
|
+
"signature": "MODULE UNLOAD name",
|
|
1764
|
+
"description": "Unload a loaded Redis module.",
|
|
1765
|
+
"type": "command",
|
|
1766
|
+
"module": "Modules"
|
|
1767
|
+
},
|
|
1768
|
+
"MODULE LOADEX": {
|
|
1769
|
+
"signature": "MODULE LOADEX path [CONFIG name value ...] [ARGS arg ...]",
|
|
1770
|
+
"description": "Load module with configuration. Redis 7.0+.",
|
|
1771
|
+
"type": "command",
|
|
1772
|
+
"module": "Modules"
|
|
1773
|
+
},
|
|
1774
|
+
"MIGRATE": {
|
|
1775
|
+
"signature": "MIGRATE host port key|\"\" db timeout [COPY] [REPLACE] [AUTH password] [AUTH2 username password] [KEYS key ...]",
|
|
1776
|
+
"description": "Atomically transfer a key to another Redis instance.",
|
|
1777
|
+
"type": "command",
|
|
1778
|
+
"module": "Generic"
|
|
1779
|
+
},
|
|
1780
|
+
"RESET": {
|
|
1781
|
+
"signature": "RESET",
|
|
1782
|
+
"description": "Reset the connection state to default.",
|
|
1783
|
+
"type": "command",
|
|
1784
|
+
"module": "Connection"
|
|
1785
|
+
},
|
|
1786
|
+
"QUIT": {
|
|
1787
|
+
"signature": "QUIT",
|
|
1788
|
+
"description": "Close the connection. Client should close after receiving OK.",
|
|
1789
|
+
"type": "command",
|
|
1790
|
+
"module": "Connection"
|
|
1791
|
+
},
|
|
1792
|
+
"HELLO": {
|
|
1793
|
+
"signature": "HELLO [protover [AUTH username password] [SETNAME clientname]]",
|
|
1794
|
+
"description": "Switch RESP protocol version (2 or 3). Redis 6.0+.",
|
|
1795
|
+
"type": "command",
|
|
1796
|
+
"module": "Connection"
|
|
1797
|
+
},
|
|
1798
|
+
"string": {
|
|
1799
|
+
"signature": "Redis String",
|
|
1800
|
+
"description": "The most basic Redis data type. A string value can be at most 512 MB. Used for caching, counters, sessions, and general key-value storage.",
|
|
1801
|
+
"type": "type",
|
|
1802
|
+
"module": "Data Types"
|
|
1803
|
+
},
|
|
1804
|
+
"list": {
|
|
1805
|
+
"signature": "Redis List",
|
|
1806
|
+
"description": "Ordered collection of strings. Implemented as linked list. Supports push/pop from both ends. Used for queues, stacks, and recent-items lists.",
|
|
1807
|
+
"type": "type",
|
|
1808
|
+
"module": "Data Types"
|
|
1809
|
+
},
|
|
1810
|
+
"set": {
|
|
1811
|
+
"signature": "Redis Set",
|
|
1812
|
+
"description": "Unordered collection of unique strings. Supports add, remove, membership test, and set operations (union, intersection, difference).",
|
|
1813
|
+
"type": "type",
|
|
1814
|
+
"module": "Data Types"
|
|
1815
|
+
},
|
|
1816
|
+
"zset": {
|
|
1817
|
+
"signature": "Redis Sorted Set",
|
|
1818
|
+
"description": "Set of unique strings ordered by a floating-point score. Supports range queries by score or rank. Used for leaderboards, rate limiters, priority queues.",
|
|
1819
|
+
"type": "type",
|
|
1820
|
+
"module": "Data Types"
|
|
1821
|
+
},
|
|
1822
|
+
"hash": {
|
|
1823
|
+
"signature": "Redis Hash",
|
|
1824
|
+
"description": "Map of field-value pairs. Memory-efficient for representing objects. Each hash can store over 4 billion field-value pairs.",
|
|
1825
|
+
"type": "type",
|
|
1826
|
+
"module": "Data Types"
|
|
1827
|
+
},
|
|
1828
|
+
"stream": {
|
|
1829
|
+
"signature": "Redis Stream",
|
|
1830
|
+
"description": "Append-only log data structure. Supports consumer groups for reliable message processing. Used for event sourcing, message queues, activity feeds.",
|
|
1831
|
+
"type": "type",
|
|
1832
|
+
"module": "Data Types"
|
|
1833
|
+
},
|
|
1834
|
+
"hyperloglog": {
|
|
1835
|
+
"signature": "Redis HyperLogLog",
|
|
1836
|
+
"description": "Probabilistic data structure for approximate cardinality counting. Uses ~12 KB regardless of set size. 0.81% standard error.",
|
|
1837
|
+
"type": "type",
|
|
1838
|
+
"module": "Data Types"
|
|
1839
|
+
},
|
|
1840
|
+
"bitmap": {
|
|
1841
|
+
"signature": "Redis Bitmap",
|
|
1842
|
+
"description": "String type interpreted as an array of bits. Space-efficient for storing boolean information across a large key space.",
|
|
1843
|
+
"type": "type",
|
|
1844
|
+
"module": "Data Types"
|
|
1845
|
+
},
|
|
1846
|
+
"geospatial": {
|
|
1847
|
+
"signature": "Redis Geospatial Index",
|
|
1848
|
+
"description": "Sorted set with geohash-encoded coordinates. Supports radius/box queries, distance calculations. Built on sorted sets internally.",
|
|
1849
|
+
"type": "type",
|
|
1850
|
+
"module": "Data Types"
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
}
|