rollback method

void rollback()

Rollback the transaction without applying changes.

Implementation

void rollback() {
  _committed = true;
  _updates.clear();
}