- Usage:
HGET key field
- Complexity:
- O(1)
- Since:
- 2.0.0
Returns the value associated with field in the hash stored at key.
Examples
HSET myhash field1 "foo"
HGET myhash field1
HGET myhash field2
HGET
key
field
Returns the value associated with field in the hash stored at key.
HSET myhash field1 "foo"
HGET myhash field1
HGET myhash field2