R/redisPERSIST.R

#'@title Remove the expiration from a key
#'@export
redisPERSIST <- function( key, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "PERSIST"
	redisCommand(Rc, cmd, list(key))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.