ARSEEK

Since 1.1.0Arrays

Syntax

ARSEEK key index
  • Flags: write
  • ACL categories: @array, @slow, @write
  • Arity: -2

Moves the insert cursor to index. It does not create the key.

Reply

  • 1 if the cursor moved, 0 if the key does not exist.

Examples

> ARSEEK log 10
(integer) 1
> ARINSERT log at10
(integer) 10