Arguments
str
required
The key of the hash.
Response
All values in the hash, or an empty list when key does not exist.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
redis.hset("myhash", values={
"field1": "Hello",
"field2": "World"
})
assert redis.hvals("myhash") == ["Hello", "World"]
Returns all values in the hash stored at key.
redis.hset("myhash", values={
"field1": "Hello",
"field2": "World"
})
assert redis.hvals("myhash") == ["Hello", "World"]
Was this page helpful?