// Clear removes all the enqueued Put and Deletes in the WriteBatch. func (w *WriteBatch) Clear() { C.leveldb_writebatch_clear(w.wbatch) }
func (w *WriteBatch) Rollback() error { C.leveldb_writebatch_clear(w.wbatch) return nil }
func (w *WriteBatch) Rollback() { C.leveldb_writebatch_clear(w.wbatch) }