Description Usage Arguments Details Value Author(s) References See Also Examples
Set the value of an element at the given index in a list corresponding to the specified key.
1 | 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
1 2 3 4 5 6 7 | ## Not run:
redisConnect()
redisLPush('list',pi)
redisLSet('list',0,5)
redisLIndex('list',0)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.