summaryrefslogtreecommitdiffstats
path: root/src/commands/hmget.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/hmget.json')
-rw-r--r--src/commands/hmget.json49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/commands/hmget.json b/src/commands/hmget.json
new file mode 100644
index 0000000..d7e7c8e
--- /dev/null
+++ b/src/commands/hmget.json
@@ -0,0 +1,49 @@
+{
+ "HMGET": {
+ "summary": "Get the values of all the given hash fields",
+ "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
+ }
+ }
+ }
+ ],
+ "arguments": [
+ {
+ "name": "key",
+ "type": "key",
+ "key_spec_index": 0
+ },
+ {
+ "name": "field",
+ "type": "string",
+ "multiple": true
+ }
+ ]
+ }
+}