Added DatabaseResult::getAffectedRows()