Commit writes the batch's operations to the database. It returns an error if the commit fails.
()
| 20 | // Commit writes the batch's operations to the database. |
| 21 | // It returns an error if the commit fails. |
| 22 | func (w *WriteBatch) Commit() error { |
| 23 | return nil |
| 24 | } |
| 25 | |
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected