pub fn move_prefix(from_prefix: &[u8], to_prefix: &[u8])
Expand description

Move all (key, value) after some prefix to the another prefix

This function will remove all value for which the key start with from_prefix and insert them at the key with the start replaced by to_prefix.

NOTE: The value at the key from_prefix is not moved.