Arguments
str
required
The key to get.
str
required
The field to check.
Response
True if the hash contains field. False if the hash does not contain field, or 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("key", "field", "value")
assert redis.hexists("key", "field") == True
Checks if a field exists in a hash.
True if the hash contains field. False if the hash does not contain field, or key does not exist.redis.hset("key", "field", "value")
assert redis.hexists("key", "field") == True
Was this page helpful?