Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

delete

delete a record from a table with its ID and layout.

Arguments

  • table - the table selector
  • key - key of the record to delete
  • layout - the layout of the record to delete

Fully qualified path: dojo::storage::database::delete

pub fn delete(table: felt252, key: felt252, layout: Span<u8>)