()
| 30 | } |
| 31 | |
| 32 | func (w *WriteBatch) SyncCommit() error { |
| 33 | if w.err != nil { |
| 34 | return w.err |
| 35 | } |
| 36 | return w.db.db.Write(w.wbatch, w.db.syncOpts) |
| 37 | } |
| 38 | |
| 39 | func (w *WriteBatch) Rollback() error { |
| 40 | w.wbatch.Reset() |
nothing calls this directly
no outgoing calls
no test coverage detected