mirror of
https://github.com/kennethreitz-archive/redis-docs.git
synced 2026-06-05 15:30:19 +00:00
21 lines
605 B
ReStructuredText
21 lines
605 B
ReStructuredText
`|Redis Documentation| <index.html>`_
|
||
**HlenCommand: Contents**
|
||
`HLEN \_key\_ (Redis > <#HLEN%20_key_%20(Redis%20%3E>`_
|
||
`Return value <#Return%20value>`_
|
||
HlenCommand
|
||
===========
|
||
|
||
#sidebar `HashCommandsSidebar <HashCommandsSidebar.html>`_
|
||
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 <ReplyTypes.html>`_
|
||
.. |Redis Documentation| image:: redis.png |