If we add the affectedRows to status we can do something like:

  if ($status->isGood() and $status->value[affectedRows] == 0) {
    $this->updateToDatabase()
  }