R/redisLPUSH.R

#'@title Prepend one or multiple values to a list
#'@export
redisLPush <- function( key,  value, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "LPUSH"
	redisCommand(Rc, cmd, list(key, value))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.