Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

redisSRem

Remove an element from a set.


Description

Remove an element from a set.

Usage

redisSRem(set, element)

Arguments

set

The set name (character) from which to remove the element.

element

The element to remove (not and index, but the actual element value).

Details

The set element matching the specified element will be removed from the set.

Value

TRUE upon successful removal, FALSE otherwise.

Author(s)

B. W. Lewis

References

http://redis.io/commands

See Also

Examples

## Not run: 
redisConnect()
redisSAdd('set', 5)
redisSAdd('set', 7)
redisSMembers('set')
redisSRem('set',5)
redisSMembers('set')

## End(Not run)

rredis

"Redis" Key/Value Database Client

v1.7.0
Apache License (>= 2.0)
Authors
B. W. Lewis
Initial release
2015-07-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.