ARINSERT
Since 1.1.0Arrays
Syntax
ARINSERT key value [value ...]Writes values at the array's insert cursor, moving the cursor on one slot per value. A missing key is created, with the cursor at 0.
Reply
- The index of the last value written.
Examples
> ARINSERT log first second
(integer) 1
> ARINSERT log third
(integer) 2
> ARNEXT log
(integer) 3