{ "ARMSET": { "summary": "Sets multiple index-value pairs in an array.", "complexity": "O(N) where N is the number of pairs", "group": "array", "since": "8.8.0", "arity": -4, "function": "armsetCommand", "command_flags": [ "WRITE", "DENYOOM", "FAST" ], "acl_categories": [ "ARRAY" ], "key_specs": [ { "flags": [ "RW", "UPDATE" ], "begin_search": { "index": { "pos": 1 } }, "find_keys": { "range": { "lastkey": 0, "step": 1, "limit": 0 } } } ], "reply_schema": { "description": "Number of new slots that were set (previously empty).", "type": "integer" }, "arguments": [ { "name": "key", "type": "key", "key_spec_index": 0 }, { "name": "data", "type": "block", "multiple": true, "arguments": [ { "name": "index", "type": "integer" }, { "name": "value", "type": "string" } ] } ] } }