def delete

mylsm-lsm-store@0.6.0.1 · src/ByteDurableDb.bend:2184

import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as ByteDurableDb
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

2184# Deletes a raw byte key after removing the SST value it shadows.
2185def delete(handle: Handle, key: Bytes.Bytes) -> IO(Handle & Result<&1, &1, Error, Unit>):
2186  match handle:
2187    case Handle{path, lock, table, state, base_stats}:
2188      delete.keyed(path, lock, table, state, base_stats, put.keys(key))

Uses (9)

Used by (1)