SyncCommit writes the batch's operations to the database and ensures they are written to stable storage. It returns an error if the commit fails.
()
| 26 | // SyncCommit writes the batch's operations to the database and ensures they are written to stable storage. |
| 27 | // It returns an error if the commit fails. |
| 28 | func (w *WriteBatch) SyncCommit() error { |
| 29 | return nil |
| 30 | } |
| 31 | |
| 32 | // Rollback discards all operations in the write batch. |
| 33 | // It returns an error if the rollback fails. |
nothing calls this directly
no outgoing calls
no test coverage detected