BinaryRedis.lset

Set a new value as the element at index position of the List at key. <p> Out of range indexes will generate an error. <p> Similarly to other list commands accepting indexes, the index can be negative to access elements starting from the end of the list. So -1 is the last element, -2 is the penultimate, and so forth. <p> <b>Time complexity:</b> <p> O(N) (with N being the length of the list), setting the first or last elements of the list is O(1). @see #lindex(const(ubyte)[], long) @param key @param index @param value @return Status code reply

class BinaryRedis
string
lset
(
const(ubyte)[] key
,
long index
,
const(ubyte)[] value
)

Meta