Function sp_io::default_child_storage::clear_prefix[][src]

pub fn clear_prefix(
    storage_key: &[u8],
    prefix: &[u8],
    limit: Option<u32>
) -> KillStorageResult
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.