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

string
required
The array key.
number | string
required
The first index of the inclusive range.
number | string
required
The last index of the inclusive range.

Response

One value per index in the range, including null (TypeScript) / None (Python) for empty slots.
Values use the SDK’s automatic deserialization. Use TData to describe stored JSON values; it defaults to string.
See the server command reference for protocol details.