redis and list | Mar 3, 2016
Atomically returns and removes the last element (tail) of the list stored at
source
, and pushes the element at the first element (head) of the list stored
at destination
.
redis and list | Mar 3, 2016
Removes and returns the last element of the list stored at key
.
redis and list | Mar 3, 2016
Trim an existing list so that it will contain only the specified range of
elements specified.
Both start
and stop
are zero-based indexes, where 0
is the first element
of the list (the head), 1
the next element and so on.
redis and list | Mar 3, 2016
Sets the list element at index
to value
.
For more information on the index
argument, see LINDEX
.
redis and list | Mar 3, 2016
Removes the first count
occurrences of elements equal to value
from the list
stored at key
.
The count
argument influences the operation in the following ways:
redis and list | Mar 3, 2016
Returns the specified elements of the list stored at key
.
The offsets start
and stop
are zero-based indexes, with 0
being the first
element of the list (the head of the list), 1
being the next element and so
on.