Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
func
(w *WriteBatch) Close() {
34
w.wbatch.Reset()
35
}
36
37
func
(w *WriteBatch) Data() []byte {
38
return
w.wbatch.Dump()
Callers
8
TestWriteBatch_BasicOperations
Function · 0.95
TestWriteBatch_MixedOperations
Function · 0.95
TestWriteBatch_SyncCommit
Function · 0.95
TestWriteBatch_Rollback
Function · 0.95
TestWriteBatch_Close
Function · 0.95
TestWriteBatch_Data
Function · 0.95
TestWriteBatch_Concurrent
Function · 0.95
TestDB_WriteBatch
Function · 0.95
Calls
1
Reset
Method · 0.45
Tested by
8
TestWriteBatch_BasicOperations
Function · 0.76
TestWriteBatch_MixedOperations
Function · 0.76
TestWriteBatch_SyncCommit
Function · 0.76
TestWriteBatch_Rollback
Function · 0.76
TestWriteBatch_Close
Function · 0.76
TestWriteBatch_Data
Function · 0.76
TestWriteBatch_Concurrent
Function · 0.76
TestDB_WriteBatch
Function · 0.76