R/redisFLUSHDB.R

#'@title Remove all keys from the current database
#'@export
redisFlushDB <- function(Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "FLUSHDB"
	redisCommand(Rc, cmd)
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.