Function sanakirja::btree::del_no_decr

source ·
pub fn del_no_decr<T, K, V, P>(
    txn: &mut T,
    db: &mut Db_<K, V, P>,
    key: &K,
    value: Option<&V>
) -> Result<bool, <T as LoadPage>::Error>
Expand description

If value is None, delete the first entry for key from the database, if present. Else, delete the entry for (key, value), if present.