Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceFireDB/IceFireDB
/ Commit
Method
Commit
driver/hybriddb/write_batch.go:20–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
}
19
20
func
(w *WriteBatch) Commit() error {
21
return
w.db.db.Write(w.wbatch, nil)
22
}
23
24
func
(w *WriteBatch) SyncCommit() error {
25
return
w.db.db.Write(w.wbatch, w.db.syncOpts)
Callers
7
TestWriteBatch_BasicOperations
Function · 0.95
TestWriteBatch_MixedOperations
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
no outgoing calls
Tested by
7
TestWriteBatch_BasicOperations
Function · 0.76
TestWriteBatch_MixedOperations
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