Description Usage Arguments Details Value Author(s) References See Also Examples
Store the (set) difference of two or more sets in the specified set.
1 | redisSDiffStore(dest, keys, ...)
|
dest |
The destination set in which to store the result. |
keys |
A vector or list of keys corresponding to sets. May also be a single key. |
... |
Additional keys corresponding to sets. See the examples below. |
The 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.
A redis status code.
B. W. Lewis
http://redis.io/commands
1 2 3 4 5 6 7 8 9 | ## Not run:
redisConnect()
redisSAdd('A',1)
redisSAdd('A',2)
redisSAdd('A',3)
redisSAdd('B',2)
redisSDiffStore('C','A','B')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.