diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/hmset.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/hmset.json | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/hmset.json b/examples/redis-unstable/src/commands/hmset.json new file mode 100644 index 0000000..e92f411 --- /dev/null +++ b/examples/redis-unstable/src/commands/hmset.json | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | { | ||
| 2 | "HMSET": { | ||
| 3 | "summary": "Sets the values of multiple fields.", | ||
| 4 | "complexity": "O(N) where N is the number of fields being set.", | ||
| 5 | "group": "hash", | ||
| 6 | "since": "2.0.0", | ||
| 7 | "arity": -4, | ||
| 8 | "function": "hsetCommand", | ||
| 9 | "deprecated_since": "4.0.0", | ||
| 10 | "replaced_by": "`HSET` with multiple field-value pairs", | ||
| 11 | "doc_flags": [ | ||
| 12 | "DEPRECATED" | ||
| 13 | ], | ||
| 14 | "command_flags": [ | ||
| 15 | "WRITE", | ||
| 16 | "DENYOOM", | ||
| 17 | "FAST" | ||
| 18 | ], | ||
| 19 | "acl_categories": [ | ||
| 20 | "HASH" | ||
| 21 | ], | ||
| 22 | "key_specs": [ | ||
| 23 | { | ||
| 24 | "flags": [ | ||
| 25 | "RW", | ||
| 26 | "UPDATE" | ||
| 27 | ], | ||
| 28 | "begin_search": { | ||
| 29 | "index": { | ||
| 30 | "pos": 1 | ||
| 31 | } | ||
| 32 | }, | ||
| 33 | "find_keys": { | ||
| 34 | "range": { | ||
| 35 | "lastkey": 0, | ||
| 36 | "step": 1, | ||
| 37 | "limit": 0 | ||
| 38 | } | ||
| 39 | } | ||
| 40 | } | ||
| 41 | ], | ||
| 42 | "reply_schema": { | ||
| 43 | "const": "OK" | ||
| 44 | }, | ||
| 45 | "arguments": [ | ||
| 46 | { | ||
| 47 | "name": "key", | ||
| 48 | "type": "key", | ||
| 49 | "key_spec_index": 0 | ||
| 50 | }, | ||
| 51 | { | ||
| 52 | "name": "data", | ||
| 53 | "type": "block", | ||
| 54 | "multiple": true, | ||
| 55 | "arguments": [ | ||
| 56 | { | ||
| 57 | "name": "field", | ||
| 58 | "type": "string" | ||
| 59 | }, | ||
| 60 | { | ||
| 61 | "name": "value", | ||
| 62 | "type": "string" | ||
| 63 | } | ||
| 64 | ] | ||
| 65 | } | ||
| 66 | ] | ||
| 67 | } | ||
| 68 | } | ||
