R/redisDECR.R

#'@title Decrement the integer value of a key by one
#'@export
redisDecr <- function( key, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "DECR"
	redisCommand(Rc, cmd, list(key))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.