NoteClick here to go to documentation for the latest version of YugaByte DB.
HGET key field
This command fetches the value for the given
field in the hash that is specified by the given
fielddoes not exist, nil is returned.
keyis associated with non-hash data, an error is raised.
Returns the value for the given
$ HSET yugahash area1 "America"
$ HGET yugahash area1