diff options
Diffstat (limited to 'src/commands/hmget.json')
-rw-r--r-- | src/commands/hmget.json | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/commands/hmget.json b/src/commands/hmget.json new file mode 100644 index 0000000..73fa9c3 --- /dev/null +++ b/src/commands/hmget.json @@ -0,0 +1,64 @@ +{ + "HMGET": { + "summary": "Returns the values of all fields in a hash.", + "complexity": "O(N) where N is the number of fields being requested.", + "group": "hash", + "since": "2.0.0", + "arity": -3, + "function": "hmgetCommand", + "command_flags": [ + "READONLY", + "FAST" + ], + "acl_categories": [ + "HASH" + ], + "key_specs": [ + { + "flags": [ + "RO", + "ACCESS" + ], + "begin_search": { + "index": { + "pos": 1 + } + }, + "find_keys": { + "range": { + "lastkey": 0, + "step": 1, + "limit": 0 + } + } + } + ], + "reply_schema": { + "description": "List of values associated with the given fields, in the same order as they are requested.", + "type": "array", + "minItems": 1, + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "arguments": [ + { + "name": "key", + "type": "key", + "key_spec_index": 0 + }, + { + "name": "field", + "type": "string", + "multiple": true + } + ] + } +} |