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

Method Delete

driver/badger/db.go:63–67  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

61}
62
63func (db *DB) Delete(key []byte) error {
64 return db.db.Update(func(txn *badger.Txn) error {
65 return txn.Delete(key)
66 })
67}
68
69func (db *DB) SyncPut(key []byte, value []byte) error {
70 return db.Put(key, value)

Callers 1

SyncDeleteMethod · 0.95

Calls 1

UpdateMethod · 0.65

Tested by

no test coverage detected