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

Method Put

driver/oss/write_batch.go:13–17  ·  view source on GitHub ↗
(key, value []byte)

Source from the content-addressed store, hash-verified

11}
12
13func (w *WriteBatch) Put(key, value []byte) {
14 w.wbatch.Put(key, value)
15 w.db.Put(key, []byte(value))
16 w.db.cache.Del(key)
17}
18
19func (w *WriteBatch) Delete(key []byte) {
20 w.wbatch.Delete(key)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected