MCPcopy Index your code
hub / github.com/perkeep/perkeep / Delete

Method Delete

pkg/sorted/sqlkv/sqlkv.go:119–124  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

117}
118
119func (b *batchTx) Delete(key string) {
120 if b.err != nil {
121 return
122 }
123 _, b.err = b.tx.Exec(b.kv.sql("DELETE FROM /*TPRE*/rows WHERE k=?"), key)
124}
125
126func (b *batchTx) Find(start, end string) sorted.Iterator {
127 if b.err != nil {

Callers

nothing calls this directly

Calls 1

sqlMethod · 0.80

Tested by

no test coverage detected