Function sanakirja_core::btree::del::del_no_decr
source · pub fn del_no_decr<T: AllocPage + LoadPage, K: Storable + ?Sized + PartialEq, V: Storable + ?Sized + PartialEq, P: BTreeMutPage<K, V>>(
txn: &mut T,
db: &mut Db_<K, V, P>,
key: &K,
value: Option<&V>
) -> Result<bool, T::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.