db_set_local

Function db_set_local 

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

Set a key and value in the tx-local database for the given DbHandle.

Returns Ok on success.

ยงPermissions

  • ContractSection::Deploy
  • ContractSection::Update