set
Write a record with its ID, layout and new value.
Arguments
table- the table selectorkey- key of the record to writevalue- the new raw unpacked data value of the recordoffset- the offset in value to start writing fromlayout- the layout of the record to write.
Fully qualified path: dojo::storage::database::set
pub fn set(table: felt252, key: felt252, value: Span<felt252>, offset: u32, layout: Span<u8>)