get
Read a record from a table, with its ID and layout.
Arguments
table- the table selectorkey- key of the record to readlayout- the layout of the record to read.
Returns
A Span<felt252> containing the raw unpacked data of the read record.
Fully qualified path: dojo::storage::database::get
pub fn get(table: felt252, key: felt252, layout: Span<u8>) -> Span<felt252>