Retrieves all fields from a hash.
redis.hset("myhash", values={ "field1": "Hello", "field2": "World" }) assert redis.hgetall("myhash") == {"field1": "Hello", "field2": "World"}
The key to get.
An object with all fields in the hash.
Was this page helpful?