Arguments
str
required
The key of the set to remove the member from.
*List[str]
One or more members to remove from the set.
Response
How many members were removed
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
redis.sadd("myset", "one", "two", "three")
assert redis.srem("myset", "one", "four") == 1
Remove one or more members from a set
redis.sadd("myset", "one", "two", "three")
assert redis.srem("myset", "one", "four") == 1
Was this page helpful?