HmsetCommand: Contents
HMSET _key_ _field1_ _value1_ ... _fieldN_ _valueN_ (Redis >
Return value

# HmsetCommand

# HMSET _key_ _field1_ _value1_ ... _fieldN_ _valueN_ (Redis >

1.3.10) = Time complexity: O(N) (with N being the number of fields)

> Set the respective fields to the respective values. HMSET replaces old values with new values.

> If key does not exist, a new key holding a hash is created.

## Return value

Status code reply Always +OK because HMSET can't fail