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