Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Arguments

key
str
required
The key to get.
field
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.
redis.hset("key", "field", "value")

assert redis.hexists("key", "field") == True