Skip to main content
On a new array, appends start at index zero. ARSET and ARMSET leave the cursor unchanged, so appending after positional writes can overwrite values. Use ARSEEK to choose the next append index.

Arguments

str
required
The array key.
*values: ValueT
required
One or more values to write. Values may be strings, integers, floats, or booleans.

Response

The index where the last value was written, as a string in TypeScript or an integer in Python.
See the server command reference for protocol details.