R/redisSELECT.R

#'@title Change the selected database for the current connection
#'@export
redisSelect <- function( index, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "SELECT"
	redisCommand(Rc, cmd, list(index))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.