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

Method Put

driver/hybriddb/write_batch.go:12–14  ·  view source on GitHub ↗
(key, value []byte)

Source from the content-addressed store, hash-verified

10}
11
12func (w *WriteBatch) Put(key, value []byte) {
13 w.wbatch.Put(key, value)
14}
15
16func (w *WriteBatch) Delete(key []byte) {
17 w.wbatch.Delete(key)

Callers 8

TestWriteBatch_RollbackFunction · 0.95
TestWriteBatch_CloseFunction · 0.95
TestWriteBatch_DataFunction · 0.95
TestDB_WriteBatchFunction · 0.95

Calls

no outgoing calls

Tested by 8

TestWriteBatch_RollbackFunction · 0.76
TestWriteBatch_CloseFunction · 0.76
TestWriteBatch_DataFunction · 0.76
TestDB_WriteBatchFunction · 0.76