R/redisDECRBY.R

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