Skip to main content

ARSEEK

Choose the index where the next append will write.
1 min read

Moves only the append cursor; existing values are unchanged. The key must already exist.

Arguments#

keystringrequired#

The array key.

indexnumber | stringrequired#

The index where the next ARINSERT should write.

Response#

0 | 1required

TypeScript returns 1 if the cursor was set and 0 if the key does not exist. Python returns True or False, respectively.

See the server command reference for protocol details.

Was this page helpful?