Skip to main content
A start greater than the end returns values in reverse index order. The server rejects ranges containing more than 1,000,000 indexes. Use ARSCAN for sparse ranges.

Arguments

str
required
The array key.
int
required
The first index of the inclusive range.
int
required
The last index of the inclusive range.

Response

One value per index in the range, including null (TypeScript) / None (Python) for empty slots.
See the server command reference for protocol details.