AttentionThis page documents an earlier version. Go to the latest (v2.1)version.
This command fetches the number of fields in the hash that is associated with the given
keydoes not exist, 0 is returned.
keyis associated with non-hash data, an error is raised.
Returns number of fields in the specified hash.
$ HSET yugahash area1 "Africa"
$ HSET yugahash area2 "America"
$ HLEN yugahash