diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/zrevrangebyscore.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/zrevrangebyscore.json | 118 |
1 files changed, 0 insertions, 118 deletions
diff --git a/examples/redis-unstable/src/commands/zrevrangebyscore.json b/examples/redis-unstable/src/commands/zrevrangebyscore.json deleted file mode 100644 index ab04052..0000000 --- a/examples/redis-unstable/src/commands/zrevrangebyscore.json +++ /dev/null | |||
| @@ -1,118 +0,0 @@ | |||
| 1 | { | ||
| 2 | "ZREVRANGEBYSCORE": { | ||
| 3 | "summary": "Returns members in a sorted set within a range of scores in reverse order.", | ||
| 4 | "complexity": "O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements being returned. If M is constant (e.g. always asking for the first 10 elements with LIMIT), you can consider it O(log(N)).", | ||
| 5 | "group": "sorted_set", | ||
| 6 | "since": "2.2.0", | ||
| 7 | "arity": -4, | ||
| 8 | "function": "zrevrangebyscoreCommand", | ||
| 9 | "history": [ | ||
| 10 | [ | ||
| 11 | "2.1.6", | ||
| 12 | "`min` and `max` can be exclusive." | ||
| 13 | ] | ||
| 14 | ], | ||
| 15 | "deprecated_since": "6.2.0", | ||
| 16 | "replaced_by": "`ZRANGE` with the `REV` and `BYSCORE` arguments", | ||
| 17 | "doc_flags": [ | ||
| 18 | "DEPRECATED" | ||
| 19 | ], | ||
| 20 | "command_flags": [ | ||
| 21 | "READONLY" | ||
| 22 | ], | ||
| 23 | "acl_categories": [ | ||
| 24 | "SORTEDSET" | ||
| 25 | ], | ||
| 26 | "key_specs": [ | ||
| 27 | { | ||
| 28 | "flags": [ | ||
| 29 | "RO", | ||
| 30 | "ACCESS" | ||
| 31 | ], | ||
| 32 | "begin_search": { | ||
| 33 | "index": { | ||
| 34 | "pos": 1 | ||
| 35 | } | ||
| 36 | }, | ||
| 37 | "find_keys": { | ||
| 38 | "range": { | ||
| 39 | "lastkey": 0, | ||
| 40 | "step": 1, | ||
| 41 | "limit": 0 | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } | ||
| 45 | ], | ||
| 46 | "reply_schema": { | ||
| 47 | "anyOf": [ | ||
| 48 | { | ||
| 49 | "type": "array", | ||
| 50 | "description": "List of the elements in the specified score range, as not WITHSCORES", | ||
| 51 | "uniqueItems": true, | ||
| 52 | "items": { | ||
| 53 | "type": "string", | ||
| 54 | "description": "Element" | ||
| 55 | } | ||
| 56 | }, | ||
| 57 | { | ||
| 58 | "type": "array", | ||
| 59 | "description": "List of the elements and their scores in the specified score range, as WITHSCORES used", | ||
| 60 | "uniqueItems": true, | ||
| 61 | "items": { | ||
| 62 | "type": "array", | ||
| 63 | "description": "Tuple of element and its score", | ||
| 64 | "minItems": 2, | ||
| 65 | "maxItems": 2, | ||
| 66 | "items": [ | ||
| 67 | { | ||
| 68 | "type": "string", | ||
| 69 | "description": "element" | ||
| 70 | }, | ||
| 71 | { | ||
| 72 | "type": "number", | ||
| 73 | "description": "score" | ||
| 74 | } | ||
| 75 | ] | ||
| 76 | } | ||
| 77 | } | ||
| 78 | ] | ||
| 79 | }, | ||
| 80 | "arguments": [ | ||
| 81 | { | ||
| 82 | "name": "key", | ||
| 83 | "type": "key", | ||
| 84 | "key_spec_index": 0 | ||
| 85 | }, | ||
| 86 | { | ||
| 87 | "name": "max", | ||
| 88 | "type": "double" | ||
| 89 | }, | ||
| 90 | { | ||
| 91 | "name": "min", | ||
| 92 | "type": "double" | ||
| 93 | }, | ||
| 94 | { | ||
| 95 | "name": "withscores", | ||
| 96 | "token": "WITHSCORES", | ||
| 97 | "type": "pure-token", | ||
| 98 | "optional": true | ||
| 99 | }, | ||
| 100 | { | ||
| 101 | "token": "LIMIT", | ||
| 102 | "name": "limit", | ||
| 103 | "type": "block", | ||
| 104 | "optional": true, | ||
| 105 | "arguments": [ | ||
| 106 | { | ||
| 107 | "name": "offset", | ||
| 108 | "type": "integer" | ||
| 109 | }, | ||
| 110 | { | ||
| 111 | "name": "count", | ||
| 112 | "type": "integer" | ||
| 113 | } | ||
| 114 | ] | ||
| 115 | } | ||
| 116 | ] | ||
| 117 | } | ||
| 118 | } | ||
