summaryrefslogtreecommitdiffstats
path: root/src/commands/hmset.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/commands/hmset.json65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/commands/hmset.json b/src/commands/hmset.json
new file mode 100644
index 0000000..2e962d9
--- /dev/null
+++ b/src/commands/hmset.json
@@ -0,0 +1,65 @@
+{
+ "HMSET": {
+ "summary": "Set multiple hash fields to multiple values",
+ "complexity": "O(N) where N is the number of fields being set.",
+ "group": "hash",
+ "since": "2.0.0",
+ "arity": -4,
+ "function": "hsetCommand",
+ "deprecated_since": "4.0.0",
+ "replaced_by": "`HSET` with multiple field-value pairs",
+ "doc_flags": [
+ "DEPRECATED"
+ ],
+ "command_flags": [
+ "WRITE",
+ "DENYOOM",
+ "FAST"
+ ],
+ "acl_categories": [
+ "HASH"
+ ],
+ "key_specs": [
+ {
+ "flags": [
+ "RW",
+ "UPDATE"
+ ],
+ "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_value",
+ "type": "block",
+ "multiple": true,
+ "arguments": [
+ {
+ "name": "field",
+ "type": "string"
+ },
+ {
+ "name": "value",
+ "type": "string"
+ }
+ ]
+ }
+ ]
+ }
+}