Skip to main content

ARSET

Write consecutive values starting at an array index.
1 min read

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

Arguments#

keystrrequired#

The array key.

indexintrequired#

The zero-based index to access.

values*values: ValueTrequired#

One or more values to write. Values may be strings, integers, floats, or booleans.

Response#

intrequired

The number of previously empty slots that were filled. Overwriting a value contributes zero.

See the server command reference for protocol details.

Was this page helpful?