Learn R Programming

rredis (version 1.7.0)

redisSMove: Move a set element.

Description

Move the specified element from one set to another.

Usage

redisSMove(setA, setB, element)

Arguments

setA
The set to move from (character identifier).
setB
The set to move to (character identifier).
element
The element to move.

Value

Details

Note that the set element is specified as the actual set element object (aka set member), not as an index value.

References

http://redis.io/commands

See Also

redisSAdd