PageRenderTime 5ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/man/redisSDiffStore.Rd

http://github.com/bwlewis/rredis
Unknown | 50 lines | 50 code | 0 blank | 0 comment | 0 complexity | 0176bdd4a6264a3a7749d8f5e7aefc90 MD5 | raw file
 1\name{redisSDiffStore}
 2\alias{redisSDiffStore}
 3\title{
 4Store the difference of two or more sets.
 5}
 6\description{
 7Store the (set) difference of two or more sets in the specified set.
 8}
 9\usage{
10redisSDiffStore(dest, keys, ...)
11}
12\arguments{
13  \item{dest}{
14The destination set in which to store the result.
15}
16  \item{keys}{
17A vector or list of keys corresponding to sets. May also be a single
18key.
19}
20  \item{...}{
21Additional keys corresponding to sets. See the examples below.
22}
23}
24\details{
25The \code{keys} argument may be a vector of set names, a list of set names,
26or a single set name. If only a single set name is specified, specify
27more sets as additional function arguments as shown in the examples.
28}
29\value{
30A redis status code.
31}
32\references{
33http://redis.io/commands
34}
35\author{
36B. W. Lewis
37}
38\seealso{
39\code{\link{redisSDiff}}
40}
41\examples{
42\dontrun{
43redisConnect()
44redisSAdd('A',1)
45redisSAdd('A',2)
46redisSAdd('A',3)
47redisSAdd('B',2)
48redisSDiffStore('C','A','B')
49}
50}