Rollback discards all operations in the write batch. It returns an error if the rollback fails.
()
| 32 | // Rollback discards all operations in the write batch. |
| 33 | // It returns an error if the rollback fails. |
| 34 | func (w *WriteBatch) Rollback() error { |
| 35 | return nil |
| 36 | } |
| 37 | |
| 38 | // Close releases any resources held by the write batch. |
| 39 | func (w *WriteBatch) Close() { |
nothing calls this directly
no outgoing calls
no test coverage detected