HlenCommand: Contents
  HLEN _key_ (Redis >
    Return value

HlenCommand

#sidebar HashCommandsSidebar

HLEN _key_ (Redis >

1.3.10)= Time complexity: O(1)
Return the number of entries (fields) contained in the hash stored at key. If the specified key does not exist, 0 is returned assuming an empty hash.

Return value

Integer reply