Skip to main content
Positional writes leave the append cursor unchanged. To append after positional writes, use ARSEEK with the length returned by ARLEN.

Arguments

str
required
The array key.
int
required
The zero-based index to access.
*values: ValueT
required
One or more values to write. Values may be strings, integers, floats, or booleans.

Response

The number of previously empty slots that were filled. Overwriting a value contributes zero.
See the server command reference for protocol details.