aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/xrange.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/xrange.json')
-rw-r--r--examples/redis-unstable/src/commands/xrange.json87
1 files changed, 0 insertions, 87 deletions
diff --git a/examples/redis-unstable/src/commands/xrange.json b/examples/redis-unstable/src/commands/xrange.json
deleted file mode 100644
index edfe2cc..0000000
--- a/examples/redis-unstable/src/commands/xrange.json
+++ /dev/null
@@ -1,87 +0,0 @@
1{
2 "XRANGE": {
3 "summary": "Returns the messages from a stream within a range of IDs.",
4 "complexity": "O(N) with N being the number of elements being returned. If N is constant (e.g. always asking for the first 10 elements with COUNT), you can consider it O(1).",
5 "group": "stream",
6 "since": "5.0.0",
7 "arity": -4,
8 "function": "xrangeCommand",
9 "history": [
10 [
11 "6.2.0",
12 "Added exclusive ranges."
13 ]
14 ],
15 "command_flags": [
16 "READONLY"
17 ],
18 "acl_categories": [
19 "STREAM"
20 ],
21 "key_specs": [
22 {
23 "flags": [
24 "RO",
25 "ACCESS"
26 ],
27 "begin_search": {
28 "index": {
29 "pos": 1
30 }
31 },
32 "find_keys": {
33 "range": {
34 "lastkey": 0,
35 "step": 1,
36 "limit": 0
37 }
38 }
39 }
40 ],
41 "reply_schema": {
42 "description": "Stream entries with IDs matching the specified range.",
43 "type": "array",
44 "uniqueItems": true,
45 "items": {
46 "type": "array",
47 "minItems": 2,
48 "maxItems": 2,
49 "items": [
50 {
51 "description": "Entry ID",
52 "type": "string",
53 "pattern": "[0-9]+-[0-9]+"
54 },
55 {
56 "description": "Data",
57 "type": "array",
58 "items": {
59 "type": "string"
60 }
61 }
62 ]
63 }
64 },
65 "arguments": [
66 {
67 "name": "key",
68 "type": "key",
69 "key_spec_index": 0
70 },
71 {
72 "name": "start",
73 "type": "string"
74 },
75 {
76 "name": "end",
77 "type": "string"
78 },
79 {
80 "token": "COUNT",
81 "name": "count",
82 "type": "integer",
83 "optional": true
84 }
85 ]
86 }
87}