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

Method SyncDelete

driver/oss/db.go:304–310  ·  view source on GitHub ↗
(key []byte)

Source from the content-addressed store, hash-verified

302}
303
304func (db *DB) SyncDelete(key []byte) error {
305 err := db.db.Delete(key, db.syncOpts)
306 if err == nil {
307 db.cache.Del(key)
308 }
309 return err
310}
311
312func (db *DB) NewWriteBatch() driver.IWriteBatch {
313 wb := &WriteBatch{

Callers

nothing calls this directly

Calls 1

DeleteMethod · 0.45

Tested by

no test coverage detected