db_get_local

Function db_get_local 

Source
pub fn db_get_local(
    db_handle: DbHandle,
    key: &[u8],
) -> GenericResult<Option<Vec<u8>>>
Expand description

Read a key from the tx-local key-value store given a DbHandle and key.

Returns the Vec<u8> value if the key exists, otherwise None.

ยงPermissions

  • ContractSection::Deploy
  • ContractSection::Metadata
  • ContractSection::Exec