db_contains_key

Function db_contains_key 

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

Check if a key is contained in the on-chain key-value store given a DbHandle and key.

Returns a boolean value.

ยงPermissions

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