blob: f66a364b09e757181c9e891dce9da3fbab7cd5c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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.
As per Redis 4.0.0, HMSET is considered deprecated. Please use `HSET` in new
code.
@return
@simple-string-reply
@examples
```cli
HMSET myhash field1 "Hello" field2 "World"
HGET myhash field1
HGET myhash field2
```
|