R/redisLRANGE.R

#'@title Get a range of elements from a list
#'@export
redisLRange <- function( key,  start,  stop, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "LRANGE"
	redisCommand(Rc, cmd, list(key, start, stop))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.