summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/hget.md
blob: 12556a109fd5596431901a3f1121cb1d674832be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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

```cli
HSET myhash field1 "foo"
HGET myhash field1
HGET myhash field2
```