summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/hmset.md
blob: 8cec77585ef0a0db4ba7c218b548bcf6363a845f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Sets the specified fields to their respective values in the hash stored at
`key`.
This command overwrites any specified fields already existing in the hash.
If `key` does not exist, a new key holding a hash is created.

@return

@simple-string-reply

@examples

```cli
HMSET myhash field1 "Hello" field2 "World"
HGET myhash field1
HGET myhash field2
```