R/redisLTRIM.R

#'@title Trim a list to the specified range
#'@export
redisLTrim <- function( key,  start,  stop, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "LTRIM"
	redisCommand(Rc, cmd, list(key, start, stop))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.