Redis.hlen

Return the number of items in a hash. <p> <b>Time complexity:</b> O(1) @param key @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.

  1. Long hlen(string key)
    class Redis
    Long
    hlen
    (
    string key
    )
  2. alias hlen = BinaryRedis.hlen

Meta