Arguments
str
required
The key of the hash.
Response
The field names of the hash
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.hkeys("myhash") == ["field1", "field2"]
Return all field names in the hash stored at key.
redis.hset("myhash", values={
"field1": "Hello",
"field2": "World"
})
assert redis.hkeys("myhash") == ["field1", "field2"]
Was this page helpful?