/man/redisSDiffStore.Rd
http://github.com/bwlewis/rredis · Unknown · 50 lines · 50 code · 0 blank · 0 comment · 0 complexity · 0176bdd4a6264a3a7749d8f5e7aefc90 MD5 · raw file
- \name{redisSDiffStore}
- \alias{redisSDiffStore}
- \title{
- Store the difference of two or more sets.
- }
- \description{
- Store the (set) difference of two or more sets in the specified set.
- }
- \usage{
- redisSDiffStore(dest, keys, ...)
- }
- \arguments{
- \item{dest}{
- The destination set in which to store the result.
- }
- \item{keys}{
- A vector or list of keys corresponding to sets. May also be a single
- key.
- }
- \item{...}{
- Additional keys corresponding to sets. See the examples below.
- }
- }
- \details{
- The \code{keys} argument may be a vector of set names, a list of set names,
- or a single set name. If only a single set name is specified, specify
- more sets as additional function arguments as shown in the examples.
- }
- \value{
- A redis status code.
- }
- \references{
- http://redis.io/commands
- }
- \author{
- B. W. Lewis
- }
- \seealso{
- \code{\link{redisSDiff}}
- }
- \examples{
- \dontrun{
- redisConnect()
- redisSAdd('A',1)
- redisSAdd('A',2)
- redisSAdd('A',3)
- redisSAdd('B',2)
- redisSDiffStore('C','A','B')
- }
- }