Command
LRANGE key start stop
Explanation
Returns the specified elements of the list stored at key.
Examples
Get all elements
LRANGE tasks 0 -1
Get first 3 elements
LRANGE tasks 0 2
LRANGE key start stop
Returns the specified elements of the list stored at key.
Get all elements
LRANGE tasks 0 -1
Get first 3 elements
LRANGE tasks 0 2