Description Usage Arguments Details Value Author(s) References See Also Examples
Remove an element from a set.
1 | redisSRem(set, element)
|
set |
The set name (character) from which to remove the element. |
element |
The element to remove (not and index, but the actual element value). |
The set element matching the specified element will be removed from the set.
TRUE upon successful removal, FALSE otherwise.
B. W. Lewis
http://redis.io/commands
1 2 3 4 5 6 7 8 9 | ## Not run:
redisConnect()
redisSAdd('set', 5)
redisSAdd('set', 7)
redisSMembers('set')
redisSRem('set',5)
redisSMembers('set')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.