Set a value within a list.
Set the value of an element at the given index in a list corresponding to the specified key.
redisLSet(key, index, value)
key |
A key corresponding to a Redis list. |
index |
The index within the list of the element to write to. |
value |
The value to set. |
Indices begin at zero. Out of range indices throw an error.
TRUE if successful, FALSE otherwise.
B. W. Lewis
http://redis.io/commands
## Not run: redisConnect() redisLPush('list',pi) redisLSet('list',0,5) redisLIndex('list',0) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.