NoteClick here to go to documentation for the latest version of YugaByte DB.
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