MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Delete

Method Delete

driver/ipfs-log/write_batch.go:16–18  ·  view source on GitHub ↗

Delete removes a key-value pair from the write batch. This operation does not immediately delete from the database.

(key []byte)

Source from the content-addressed store, hash-verified

14// Delete removes a key-value pair from the write batch.
15// This operation does not immediately delete from the database.
16func (w *WriteBatch) Delete(key []byte) {
17 _ = w.db.Delete(key)
18}
19
20// Commit writes the batch's operations to the database.
21// It returns an error if the commit fails.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected