HGET

redis and hash | Mar 2, 2016 • Ding Jiao

Returns the value associated with field in the hash stored at key.

@return

@bulk-string-reply: the value associated with field, or nil when field is not present in the hash or key does not exist.

@examples

HSET myhash field1 "foo"
HGET myhash field1
HGET myhash field2