Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

set_array

Write a part of an array nested in value, delimited by an offset and a size.

Arguments

  • table - the table selector
  • key - key of the record to write
  • value - the new raw unpacked data value of the record
  • offset - the beginning of the nested array to write
  • array_size - the size of the nested array to write

Fully qualified path: dojo::storage::database::set_array

pub fn set_array(table: felt252, key: felt252, value: Span<felt252>, offset: u32, array_size: u32)