R/redisZINTERSTORE.R

#'@title Intersect multiple sorted sets and store the resulting sorted set in a new key
#'@export
redisZInterStore <- function( destination,  numkeys,  key, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "ZINTERSTORE"
	redisCommand(Rc, cmd, list(destination, numkeys, key))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.