HMSET

Sets hash fields using merge semantics.

Hashes · Example verified

Syntax covered here

HMSET key field value

The case overwrites an existing field; unlike LAVIK.HREPLACE, this command does not replace the entire field set.

Tested example & replies

Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.

# connection: default
> HSET user name Ada
1
# connection: default
> HMSET user name Bob
"OK"