HmgetCommand: Contents
  HMGET _key_ _field1_ ... _fieldN_ (Redis >
    Return value

HmgetCommand

#sidebar HashCommandsSidebar

HMGET _key_ _field1_ ... _fieldN_ (Redis >

1.3.10) = Time complexity: O(N) (with N being the number of fields)
Retrieve the values associated to the specified fields.
If some of the specified fields do not exist, nil values are returned.Non existing keys are considered like empty hashes.

Return value

Multi Bulk Reply specifically a list of all the values associated with the specified fields, in the same order of the request.