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

string
required
The array key.
number | string
required
The zero-based index to access.
...TData[]
required
One or more values to write.

Response

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