redis.hset("key", "field", "value") assert redis.hexists("key", "field") == True
Checks if a field exists in a hash.
True
field
False
key
Was this page helpful?