AttentionThis page is from an older version. Click here to go the latest version.
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