R/redisLINDEX.R

#'@title Get an element from a list by its index
#'@export
redisLIndex <- function( key,  index, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "LINDEX"
	redisCommand(Rc, cmd, list(key, index))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.