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

Method Delete

driver/ipfs-log/db.go:158–160  ·  view source on GitHub ↗

Delete removes a key-value pair from the database

(key []byte)

Source from the content-addressed store, hash-verified

156
157// Delete removes a key-value pair from the database
158func (db *DB) Delete(key []byte) error {
159 return db.db.Delete(db.ctx, key)
160}
161
162// SyncPut is a synchronous version of Put
163func (db *DB) SyncPut(key []byte, value []byte) error {

Callers 1

SyncDeleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected