R/redisSORT.R

#'@title Sort the elements in a list, set or sorted set
#'@export
redisSort <- function( key, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "SORT"
	redisCommand(Rc, cmd, list(key))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.