HGETALL
Since 1.1.0Hashes
Syntax
HGETALL keyReturns every field of the hash at key with its value.
Reply
- A flat array: field, value, field, value, and so on. Empty if the key does not exist.
Examples
> HSET u name Ada lang Rust
(integer) 2
> HGETALL u
1) "name"
2) "Ada"
3) "lang"
4) "Rust"