HdelCommand: Contents
  HDEL _key_ _field_ (Redis >
    Return value

HdelCommand

#sidebar HashCommandsSidebar

HDEL _key_ _field_ (Redis >

1.3.10)= Time complexity: O(1)
Remove the specified field from an hash stored at key.
If the field was present in the hash it is deleted and 1 is returned, otherwise 0 is returned and no operation is performed.

Return value

Integer reply