R/redisDBSIZE.R

#'@title Return the number of keys in the selected database
#'@export
redisDBSize <- function(Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "DBSIZE"
	redisCommand(Rc, cmd)
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.