Retrieve a value from a Redis 'list.'
Retrieve a value from a Redis 'list' at the specified index without removing it from the list.
redisLIndex(key, index, ...)
key |
The key (whose value is of the type 'list'). |
index |
The list index to retrieve. |
... |
Optional additional arguments. Specify |
List indices begin at 0. Negative indexes are supported, for example -1 is the last element, -2 the penultimate and so on. If the value stored at key is not of the 'list' type an error is returned. If the index is out of range an empty string is returned.
The corresponding value or an empty string if the index is out of bounds.
B. W. Lewis
http://redis.io/commands
## Not run: redisConnect() ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.