Remove one or more members from a set
await redis.sadd("set", "a", "b", "c"); const removed = await redis.srem("set", "a", "b", "d"); console.log(removed); // 2
The key of the set to remove the member from.
One or more members to remove from the set.
How many members were removed
Was this page helpful?