summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/hget.md
blob: b8d91016ebfcfa17b7ae14d385480afdd191fefb (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
```