HGETALL

Retrieves all fields and values from a hash.

Hashes · Example verified

Syntax covered here

HGETALL key

It also verifies that LAVIK.HREPLACE removes old fields and leaves only the replacement field set.

Tested example & replies

Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.

# connection: default
> HSET user name Ada
1
# connection: default
> HGETALL user
["name","Ada"]