pub fn clear_prefix(
storage_key: <PassFatPointerAndRead<&[u8]> as RIType>::Inner,
prefix: <PassFatPointerAndRead<&[u8]> as RIType>::Inner,
limit: <PassFatPointerAndDecode<Option<u32>> as RIType>::Inner,
) -> <AllocateAndReturnByCodec<KillStorageResult> as RIType>::Inner
Expand description
Clear the child storage of each key-value pair where the key starts with the given prefix
.
See Storage
module clear_prefix
documentation for limit
usage.