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#

keystringrequired#

The array key.

indexnumber | stringrequired#

The zero-based index to access.

values...TData[]required#

One or more values to write.

Response#

numberrequired

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?