- Overall
- Quickstarts
- Features
- SDKs
- Typescript
- Python
- Overview
- Getting Started
- Features
- Commands
- Ratelimit (TS)
- Ratelimit (PY)
- How To
- Integrations
- Tutorials
- Troubleshooting
- Help
Hash
HKEYS
Return all field names in the hash stored at key.
redis.hset("myhash", values={
"field1": "Hello",
"field2": "World"
})
assert redis.hkeys("myhash") == ["field1", "field2"]
Arguments
The key of the hash.
Response
The field names of the hash
redis.hset("myhash", values={
"field1": "Hello",
"field2": "World"
})
assert redis.hkeys("myhash") == ["field1", "field2"]
Was this page helpful?
redis.hset("myhash", values={
"field1": "Hello",
"field2": "World"
})
assert redis.hkeys("myhash") == ["field1", "field2"]
Assistant
Responses are generated using AI and may contain mistakes.