Return the number of fields associated with the given key.
Usage
redisHLen(key)
Arguments
key
The key to look up.
Value
Details
Returns the number of fields in the Redis hash
associated with key.
If the key is not found, or if the hash is empty, 0 is returned. If the
key is associated with a value of type other than 'hash,' an error is
thrown.