diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/mget.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/mget.json | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/mget.json b/examples/redis-unstable/src/commands/mget.json new file mode 100644 index 0000000..a177853 --- /dev/null +++ b/examples/redis-unstable/src/commands/mget.json | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | { | ||
| 2 | "MGET": { | ||
| 3 | "summary": "Atomically returns the string values of one or more keys.", | ||
| 4 | "complexity": "O(N) where N is the number of keys to retrieve.", | ||
| 5 | "group": "string", | ||
| 6 | "since": "1.0.0", | ||
| 7 | "arity": -2, | ||
| 8 | "function": "mgetCommand", | ||
| 9 | "command_flags": [ | ||
| 10 | "READONLY", | ||
| 11 | "FAST" | ||
| 12 | ], | ||
| 13 | "acl_categories": [ | ||
| 14 | "STRING" | ||
| 15 | ], | ||
| 16 | "command_tips": [ | ||
| 17 | "REQUEST_POLICY:MULTI_SHARD" | ||
| 18 | ], | ||
| 19 | "key_specs": [ | ||
| 20 | { | ||
| 21 | "flags": [ | ||
| 22 | "RO", | ||
| 23 | "ACCESS" | ||
| 24 | ], | ||
| 25 | "begin_search": { | ||
| 26 | "index": { | ||
| 27 | "pos": 1 | ||
| 28 | } | ||
| 29 | }, | ||
| 30 | "find_keys": { | ||
| 31 | "range": { | ||
| 32 | "lastkey": -1, | ||
| 33 | "step": 1, | ||
| 34 | "limit": 0 | ||
| 35 | } | ||
| 36 | } | ||
| 37 | } | ||
| 38 | ], | ||
| 39 | "reply_schema": { | ||
| 40 | "description": "List of values at the specified keys.", | ||
| 41 | "type": "array", | ||
| 42 | "minItems": 1, | ||
| 43 | "items": { | ||
| 44 | "oneOf": [ | ||
| 45 | { | ||
| 46 | "type": "string" | ||
| 47 | }, | ||
| 48 | { | ||
| 49 | "type": "null" | ||
| 50 | } | ||
| 51 | ] | ||
| 52 | } | ||
| 53 | }, | ||
| 54 | "arguments": [ | ||
| 55 | { | ||
| 56 | "name": "key", | ||
| 57 | "type": "key", | ||
| 58 | "key_spec_index": 0, | ||
| 59 | "multiple": true | ||
| 60 | } | ||
| 61 | ] | ||
| 62 | } | ||
| 63 | } | ||
