code: func (wb *WriteBatch) BatchData() *BatchData {
  	data := wb.wb.Data()
  	if wb.data == nil {
  		wb.data = new(BatchData)
  	}
  
  	wb.data.Load(data)
  	return wb.data
  }
docs: // the data will be undefined after commit or rollback