aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/hmget.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/hmget.json')
-rw-r--r--examples/redis-unstable/src/commands/hmget.json64
1 files changed, 64 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/hmget.json b/examples/redis-unstable/src/commands/hmget.json
new file mode 100644
index 0000000..73fa9c3
--- /dev/null
+++ b/examples/redis-unstable/src/commands/hmget.json
@@ -0,0 +1,64 @@
1{
2 "HMGET": {
3 "summary": "Returns the values of all fields in a hash.",
4 "complexity": "O(N) where N is the number of fields being requested.",
5 "group": "hash",
6 "since": "2.0.0",
7 "arity": -3,
8 "function": "hmgetCommand",
9 "command_flags": [
10 "READONLY",
11 "FAST"
12 ],
13 "acl_categories": [
14 "HASH"
15 ],
16 "key_specs": [
17 {
18 "flags": [
19 "RO",
20 "ACCESS"
21 ],
22 "begin_search": {
23 "index": {
24 "pos": 1
25 }
26 },
27 "find_keys": {
28 "range": {
29 "lastkey": 0,
30 "step": 1,
31 "limit": 0
32 }
33 }
34 }
35 ],
36 "reply_schema": {
37 "description": "List of values associated with the given fields, in the same order as they are requested.",
38 "type": "array",
39 "minItems": 1,
40 "items": {
41 "oneOf": [
42 {
43 "type": "string"
44 },
45 {
46 "type": "null"
47 }
48 ]
49 }
50 },
51 "arguments": [
52 {
53 "name": "key",
54 "type": "key",
55 "key_spec_index": 0
56 },
57 {
58 "name": "field",
59 "type": "string",
60 "multiple": true
61 }
62 ]
63 }
64}