R/redisMOVE.R

#'@title Move a key to another database
#'@export
redisMove <- function( key,  db, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "MOVE"
	redisCommand(Rc, cmd, list(key, db))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.