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

Method Close

driver/hybriddb/write_batch.go:33–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33func (w *WriteBatch) Close() {
34 w.wbatch.Reset()
35}
36
37func (w *WriteBatch) Data() []byte {
38 return w.wbatch.Dump()

Callers 8

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

Calls 1

ResetMethod · 0.45

Tested by 8

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