Remove and return an element from a set.
Remove and return an element, chosen at random, from the specified set.
redisSPop(set, ...)
set |
The set name (character). |
... |
Optional additional arguments. Specify |
A random element of the set, or NULL if the set is empty or does not exist.
B. W. Lewis
http://redis.io/commands
## Not run: redisConnect() redisSAdd('set',runif(2)) redisSAdd('set',runif(3)) redisSAdd('set',runif(4)) redisSPop('set') redisSPop('set') redisSPop('set') redisSPop('set') ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.