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

Method Rollback

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

Source from the content-addressed store, hash-verified

26}
27
28func (w *WriteBatch) Rollback() error {
29 w.wbatch.Reset()
30 return nil
31}
32
33func (w *WriteBatch) Close() {
34 w.wbatch.Reset()

Callers 2

TestWriteBatch_RollbackFunction · 0.95
TestWriteBatch_CloseFunction · 0.95

Calls 1

ResetMethod · 0.45

Tested by 2

TestWriteBatch_RollbackFunction · 0.76
TestWriteBatch_CloseFunction · 0.76