Redis hash length.
Return the number of fields associated with the given key.
redisHLen(key)
key |
The key to look up. |
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.
The number of fields defined for the given key.
B. W. Lewis
http://redis.io/commands
## Not run: redisHMSet('A',list(x=1,y=2,z=3)) redisHLen('A') ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.