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
string
required
The key to get.
fields
required
One or more fields to delete.

Response

The number of fields that were removed from the hash.
await redis.hdel(key, 'field1', 'field2');
// returns 5