Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash-fix-issues-on-docs.mintlify.app/llms.txt

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

Arguments

key
string
required
The key of the set to remove the member from.
members
...TMember[]
One or more members to remove from the set.

Response

How many members were removed
await redis.sadd("set", "a", "b", "c"); 
const removed = await redis.srem("set", "a", "b", "d");
console.log(removed); // 2