db_del

Function db_del 

Source
pub(crate) fn db_del(
    ctx: FunctionEnvMut<'_, Env>,
    ptr: WasmPtr<u8>,
    ptr_len: u32,
) -> i64
Expand description

Remove a key from the on-chain database.

Returns SUCCESS on success, otherwise returns an error value.

ยงPermissions

  • ContractSection::Deploy
  • ContractSection::Update