Build a Criteria object containing the values of all modified columns in this object.

@return Criteria The Criteria object containing all modified values.
764270
public function buildCriteria()
    {
        $criteria = new Criteria(SkillReferenceTableMap::DATABASE_NAME);

        if ($this->isColumnModified(SkillReferenceTableMap::COL_SKILL_ID)) {
            $criteria->add(SkillReferenceTableMap::COL_SKILL_ID, $this->skill_id);
        }
        if ($this->isColumnModified(SkillReferenceTableMap::COL_REFERENCE_ID)) {
            $criteria->add(SkillReferenceTableMap::COL_REFERENCE_ID, $this->reference_id);
        }

        return $criteria;
    }
2239
public function buildCriteria()
    {
        $criteria = new Criteria(C2PTableMap::DATABASE_NAME);

        if ($this->isColumnModified(C2PTableMap::COL_CATEGORY_ID)) {
            $criteria->add(C2PTableMap::COL_CATEGORY_ID, $this->category_id);
        }
        if ($this->isColumnModified(C2PTableMap::COL_PAGE_ID)) {
            $criteria->add(C2PTableMap::COL_PAGE_ID, $this->page_id);
        }

        return $criteria;
    }
682124
public function buildCriteria()
    {
        $criteria = new Criteria(SourceTableMap::DATABASE_NAME);

        if ($this->isColumnModified(SourceTableMap::COL_ID)) {
            $criteria->add(SourceTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(SourceTableMap::COL_TITLE)) {
            $criteria->add(SourceTableMap::COL_TITLE, $this->title);
        }
        if ($this->isColumnModified(SourceTableMap::COL_HOST)) {
            $criteria->add(SourceTableMap::COL_HOST, $this->host);
        }
        if ($this->isColumnModified(SourceTableMap::COL_ENDPOINT)) {
            $criteria->add(SourceTableMap::COL_ENDPOINT, $this->endpoint);
        }
        if ($this->isColumnModified(SourceTableMap::COL_CREATED_AT)) {
            $criteria->add(SourceTableMap::COL_CREATED_AT, $this->created_at);
        }
        if ($this->isColumnModified(SourceTableMap::COL_UPDATED_AT)) {
            $criteria->add(SourceTableMap::COL_UPDATED_AT, $this->updated_at);
        }

        return $criteria;
    }
458173
public function buildCriteria()
    {
        $criteria = new Criteria(PersonFunctionLinkVersionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(PersonFunctionLinkVersionTableMap::ID)) $criteria->add(PersonFunctionLinkVersionTableMap::ID, $this->id);
        if ($this->isColumnModified(PersonFunctionLinkVersionTableMap::PERSON_ID)) $criteria->add(PersonFunctionLinkVersionTableMap::PERSON_ID, $this->person_id);
        if ($this->isColumnModified(PersonFunctionLinkVersionTableMap::FUNCTION_ID)) $criteria->add(PersonFunctionLinkVersionTableMap::FUNCTION_ID, $this->function_id);
        if ($this->isColumnModified(PersonFunctionLinkVersionTableMap::CREATED_AT)) $criteria->add(PersonFunctionLinkVersionTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(PersonFunctionLinkVersionTableMap::UPDATED_AT)) $criteria->add(PersonFunctionLinkVersionTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(PersonFunctionLinkVersionTableMap::VERSION)) $criteria->add(PersonFunctionLinkVersionTableMap::VERSION, $this->version);
        if ($this->isColumnModified(PersonFunctionLinkVersionTableMap::VERSION_CREATED_AT)) $criteria->add(PersonFunctionLinkVersionTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(PersonFunctionLinkVersionTableMap::VERSION_CREATED_BY)) $criteria->add(PersonFunctionLinkVersionTableMap::VERSION_CREATED_BY, $this->version_created_by);
        if ($this->isColumnModified(PersonFunctionLinkVersionTableMap::PERSON_ID_VERSION)) $criteria->add(PersonFunctionLinkVersionTableMap::PERSON_ID_VERSION, $this->person_id_version);
        if ($this->isColumnModified(PersonFunctionLinkVersionTableMap::FUNCTION_ID_VERSION)) $criteria->add(PersonFunctionLinkVersionTableMap::FUNCTION_ID_VERSION, $this->function_id_version);

        return $criteria;
    }
776056
public function buildCriteria()
    {
        $criteria = new Criteria(CustomerGroupI18nTableMap::DATABASE_NAME);

        if ($this->isColumnModified(CustomerGroupI18nTableMap::ID)) $criteria->add(CustomerGroupI18nTableMap::ID, $this->id);
        if ($this->isColumnModified(CustomerGroupI18nTableMap::LOCALE)) $criteria->add(CustomerGroupI18nTableMap::LOCALE, $this->locale);
        if ($this->isColumnModified(CustomerGroupI18nTableMap::TITLE)) $criteria->add(CustomerGroupI18nTableMap::TITLE, $this->title);
        if ($this->isColumnModified(CustomerGroupI18nTableMap::DESCRIPTION)) $criteria->add(CustomerGroupI18nTableMap::DESCRIPTION, $this->description);

        return $criteria;
    }
82746
public function buildCriteria()
    {
        $criteria = new Criteria(MxmapTableMap::DATABASE_NAME);

        if ($this->isColumnModified(MxmapTableMap::COL_ID)) {
            $criteria->add(MxmapTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_TRACKUID)) {
            $criteria->add(MxmapTableMap::COL_TRACKUID, $this->trackuid);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_GBXMAPNAME)) {
            $criteria->add(MxmapTableMap::COL_GBXMAPNAME, $this->gbxmapname);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_TRACKID)) {
            $criteria->add(MxmapTableMap::COL_TRACKID, $this->trackid);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_USERID)) {
            $criteria->add(MxmapTableMap::COL_USERID, $this->userid);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_USERNAME)) {
            $criteria->add(MxmapTableMap::COL_USERNAME, $this->username);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_UPLOADEDAT)) {
            $criteria->add(MxmapTableMap::COL_UPLOADEDAT, $this->uploadedat);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_UPDATEDAT)) {
            $criteria->add(MxmapTableMap::COL_UPDATEDAT, $this->updatedat);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_MAPTYPE)) {
            $criteria->add(MxmapTableMap::COL_MAPTYPE, $this->maptype);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_TITLEPACK)) {
            $criteria->add(MxmapTableMap::COL_TITLEPACK, $this->titlepack);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_STYLENAME)) {
            $criteria->add(MxmapTableMap::COL_STYLENAME, $this->stylename);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_DISPLAYCOST)) {
            $criteria->add(MxmapTableMap::COL_DISPLAYCOST, $this->displaycost);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_MODNAME)) {
            $criteria->add(MxmapTableMap::COL_MODNAME, $this->modname);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_LIGHTMAP)) {
            $criteria->add(MxmapTableMap::COL_LIGHTMAP, $this->lightmap);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_EXEVERSION)) {
            $criteria->add(MxmapTableMap::COL_EXEVERSION, $this->exeversion);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_EXEBUILD)) {
            $criteria->add(MxmapTableMap::COL_EXEBUILD, $this->exebuild);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_ENVIRONMENTNAME)) {
            $criteria->add(MxmapTableMap::COL_ENVIRONMENTNAME, $this->environmentname);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_VEHICLENAME)) {
            $criteria->add(MxmapTableMap::COL_VEHICLENAME, $this->vehiclename);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_UNLIMITERREQUIRED)) {
            $criteria->add(MxmapTableMap::COL_UNLIMITERREQUIRED, $this->unlimiterrequired);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_ROUTENAME)) {
            $criteria->add(MxmapTableMap::COL_ROUTENAME, $this->routename);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_LENGTHNAME)) {
            $criteria->add(MxmapTableMap::COL_LENGTHNAME, $this->lengthname);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_LAPS)) {
            $criteria->add(MxmapTableMap::COL_LAPS, $this->laps);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_DIFFICULTYNAME)) {
            $criteria->add(MxmapTableMap::COL_DIFFICULTYNAME, $this->difficultyname);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_REPLAYTYPENAME)) {
            $criteria->add(MxmapTableMap::COL_REPLAYTYPENAME, $this->replaytypename);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_REPLAYWRID)) {
            $criteria->add(MxmapTableMap::COL_REPLAYWRID, $this->replaywrid);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_REPLAYWRTIME)) {
            $criteria->add(MxmapTableMap::COL_REPLAYWRTIME, $this->replaywrtime);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_REPLAYWRUSERID)) {
            $criteria->add(MxmapTableMap::COL_REPLAYWRUSERID, $this->replaywruserid);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_REPLAYWRUSERNAME)) {
            $criteria->add(MxmapTableMap::COL_REPLAYWRUSERNAME, $this->replaywrusername);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_RATINGVOTECOUNT)) {
            $criteria->add(MxmapTableMap::COL_RATINGVOTECOUNT, $this->ratingvotecount);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_RATINGVOTEAVERAGE)) {
            $criteria->add(MxmapTableMap::COL_RATINGVOTEAVERAGE, $this->ratingvoteaverage);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_REPLAYCOUNT)) {
            $criteria->add(MxmapTableMap::COL_REPLAYCOUNT, $this->replaycount);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_TRACKVALUE)) {
            $criteria->add(MxmapTableMap::COL_TRACKVALUE, $this->trackvalue);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_COMMENTS)) {
            $criteria->add(MxmapTableMap::COL_COMMENTS, $this->comments);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_COMMENTSCOUNT)) {
            $criteria->add(MxmapTableMap::COL_COMMENTSCOUNT, $this->commentscount);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_AWARDCOUNT)) {
            $criteria->add(MxmapTableMap::COL_AWARDCOUNT, $this->awardcount);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_HASSCREENSHOT)) {
            $criteria->add(MxmapTableMap::COL_HASSCREENSHOT, $this->hasscreenshot);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_HASTHUMBNAIL)) {
            $criteria->add(MxmapTableMap::COL_HASTHUMBNAIL, $this->hasthumbnail);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_HASGHOSTBLOCKS)) {
            $criteria->add(MxmapTableMap::COL_HASGHOSTBLOCKS, $this->hasghostblocks);
        }
        if ($this->isColumnModified(MxmapTableMap::COL_EMBEDDEDOBJECTSCOUNT)) {
            $criteria->add(MxmapTableMap::COL_EMBEDDEDOBJECTSCOUNT, $this->embeddedobjectscount);
        }

        return $criteria;
    }
111890
public function buildCriteria()
    {
        $criteria = new Criteria(DealerTableMap::DATABASE_NAME);

        if ($this->isColumnModified(DealerTableMap::ID)) $criteria->add(DealerTableMap::ID, $this->id);
        if ($this->isColumnModified(DealerTableMap::VISIBLE)) $criteria->add(DealerTableMap::VISIBLE, $this->visible);
        if ($this->isColumnModified(DealerTableMap::ADDRESS1)) $criteria->add(DealerTableMap::ADDRESS1, $this->address1);
        if ($this->isColumnModified(DealerTableMap::ADDRESS2)) $criteria->add(DealerTableMap::ADDRESS2, $this->address2);
        if ($this->isColumnModified(DealerTableMap::ADDRESS3)) $criteria->add(DealerTableMap::ADDRESS3, $this->address3);
        if ($this->isColumnModified(DealerTableMap::ZIPCODE)) $criteria->add(DealerTableMap::ZIPCODE, $this->zipcode);
        if ($this->isColumnModified(DealerTableMap::CITY)) $criteria->add(DealerTableMap::CITY, $this->city);
        if ($this->isColumnModified(DealerTableMap::COUNTRY_ID)) $criteria->add(DealerTableMap::COUNTRY_ID, $this->country_id);
        if ($this->isColumnModified(DealerTableMap::LATITUDE)) $criteria->add(DealerTableMap::LATITUDE, $this->latitude);
        if ($this->isColumnModified(DealerTableMap::LONGITUDE)) $criteria->add(DealerTableMap::LONGITUDE, $this->longitude);
        if ($this->isColumnModified(DealerTableMap::CREATED_AT)) $criteria->add(DealerTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(DealerTableMap::UPDATED_AT)) $criteria->add(DealerTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(DealerTableMap::VERSION)) $criteria->add(DealerTableMap::VERSION, $this->version);
        if ($this->isColumnModified(DealerTableMap::VERSION_CREATED_AT)) $criteria->add(DealerTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(DealerTableMap::VERSION_CREATED_BY)) $criteria->add(DealerTableMap::VERSION_CREATED_BY, $this->version_created_by);

        return $criteria;
    }
1369316
public function buildCriteria()
    {
        $criteria = new Criteria(PersonI18nTableMap::DATABASE_NAME);

        if ($this->isColumnModified(PersonI18nTableMap::ID)) $criteria->add(PersonI18nTableMap::ID, $this->id);
        if ($this->isColumnModified(PersonI18nTableMap::LOCALE)) $criteria->add(PersonI18nTableMap::LOCALE, $this->locale);
        if ($this->isColumnModified(PersonI18nTableMap::DESCRIPTION)) $criteria->add(PersonI18nTableMap::DESCRIPTION, $this->description);

        return $criteria;
    }
390400
public function buildCriteria()
    {
        $criteria = new Criteria(CategoryTableMap::DATABASE_NAME);

        if ($this->isColumnModified(CategoryTableMap::COL_ID)) {
            $criteria->add(CategoryTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_SOURCE_ID)) {
            $criteria->add(CategoryTableMap::COL_SOURCE_ID, $this->source_id);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_PAGEID)) {
            $criteria->add(CategoryTableMap::COL_PAGEID, $this->pageid);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TITLE)) {
            $criteria->add(CategoryTableMap::COL_TITLE, $this->title);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_FILES)) {
            $criteria->add(CategoryTableMap::COL_FILES, $this->files);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_SUBCATS)) {
            $criteria->add(CategoryTableMap::COL_SUBCATS, $this->subcats);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_PAGES)) {
            $criteria->add(CategoryTableMap::COL_PAGES, $this->pages);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_SIZE)) {
            $criteria->add(CategoryTableMap::COL_SIZE, $this->size);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_HIDDEN)) {
            $criteria->add(CategoryTableMap::COL_HIDDEN, $this->hidden);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_CREATED_AT)) {
            $criteria->add(CategoryTableMap::COL_CREATED_AT, $this->created_at);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_UPDATED_AT)) {
            $criteria->add(CategoryTableMap::COL_UPDATED_AT, $this->updated_at);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TREE_LEFT)) {
            $criteria->add(CategoryTableMap::COL_TREE_LEFT, $this->tree_left);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TREE_RIGHT)) {
            $criteria->add(CategoryTableMap::COL_TREE_RIGHT, $this->tree_right);
        }
        if ($this->isColumnModified(CategoryTableMap::COL_TREE_LEVEL)) {
            $criteria->add(CategoryTableMap::COL_TREE_LEVEL, $this->tree_level);
        }

        return $criteria;
    }
1178713
public function buildCriteria()
    {
        $criteria = new Criteria(SkillPartTableMap::DATABASE_NAME);

        if ($this->isColumnModified(SkillPartTableMap::COL_PART_ID)) {
            $criteria->add(SkillPartTableMap::COL_PART_ID, $this->part_id);
        }
        if ($this->isColumnModified(SkillPartTableMap::COL_COMPOSITE_ID)) {
            $criteria->add(SkillPartTableMap::COL_COMPOSITE_ID, $this->composite_id);
        }

        return $criteria;
    }
1347870
public function buildCriteria()
    {
        $criteria = new Criteria(AtosCurrencyTableMap::DATABASE_NAME);

        if ($this->isColumnModified(AtosCurrencyTableMap::CODE)) $criteria->add(AtosCurrencyTableMap::CODE, $this->code);
        if ($this->isColumnModified(AtosCurrencyTableMap::ATOS_CODE)) $criteria->add(AtosCurrencyTableMap::ATOS_CODE, $this->atos_code);
        if ($this->isColumnModified(AtosCurrencyTableMap::DECIMALS)) $criteria->add(AtosCurrencyTableMap::DECIMALS, $this->decimals);
        return $criteria;
    }
1293324
public function buildCriteria()
    {
        $criteria = new Criteria(M2PTableMap::DATABASE_NAME);

        if ($this->isColumnModified(M2PTableMap::COL_MEDIA_ID)) {
            $criteria->add(M2PTableMap::COL_MEDIA_ID, $this->media_id);
        }
        if ($this->isColumnModified(M2PTableMap::COL_PAGE_ID)) {
            $criteria->add(M2PTableMap::COL_PAGE_ID, $this->page_id);
        }

        return $criteria;
    }
955485
public function buildCriteria()
    {
        $criteria = new Criteria(PersonTeamLinkVersionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(PersonTeamLinkVersionTableMap::ID)) $criteria->add(PersonTeamLinkVersionTableMap::ID, $this->id);
        if ($this->isColumnModified(PersonTeamLinkVersionTableMap::PERSON_ID)) $criteria->add(PersonTeamLinkVersionTableMap::PERSON_ID, $this->person_id);
        if ($this->isColumnModified(PersonTeamLinkVersionTableMap::TEAM_ID)) $criteria->add(PersonTeamLinkVersionTableMap::TEAM_ID, $this->team_id);
        if ($this->isColumnModified(PersonTeamLinkVersionTableMap::CREATED_AT)) $criteria->add(PersonTeamLinkVersionTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(PersonTeamLinkVersionTableMap::UPDATED_AT)) $criteria->add(PersonTeamLinkVersionTableMap::UPDATED_AT, $this->updated_at);
        if ($this->isColumnModified(PersonTeamLinkVersionTableMap::VERSION)) $criteria->add(PersonTeamLinkVersionTableMap::VERSION, $this->version);
        if ($this->isColumnModified(PersonTeamLinkVersionTableMap::VERSION_CREATED_AT)) $criteria->add(PersonTeamLinkVersionTableMap::VERSION_CREATED_AT, $this->version_created_at);
        if ($this->isColumnModified(PersonTeamLinkVersionTableMap::VERSION_CREATED_BY)) $criteria->add(PersonTeamLinkVersionTableMap::VERSION_CREATED_BY, $this->version_created_by);
        if ($this->isColumnModified(PersonTeamLinkVersionTableMap::PERSON_ID_VERSION)) $criteria->add(PersonTeamLinkVersionTableMap::PERSON_ID_VERSION, $this->person_id_version);
        if ($this->isColumnModified(PersonTeamLinkVersionTableMap::TEAM_ID_VERSION)) $criteria->add(PersonTeamLinkVersionTableMap::TEAM_ID_VERSION, $this->team_id_version);

        return $criteria;
    }
859591
public function buildCriteria()
    {
        $criteria = new Criteria(UserRolePeer::DATABASE_NAME);

        if ($this->isColumnModified(UserRolePeer::USER_ID)) $criteria->add(UserRolePeer::USER_ID, $this->user_id);
        if ($this->isColumnModified(UserRolePeer::ROLE_ID)) $criteria->add(UserRolePeer::ROLE_ID, $this->role_id);

        return $criteria;
    }
447832
public function buildCriteria()
    {
        $criteria = new Criteria(PersonImageI18nTableMap::DATABASE_NAME);

        if ($this->isColumnModified(PersonImageI18nTableMap::ID)) $criteria->add(PersonImageI18nTableMap::ID, $this->id);
        if ($this->isColumnModified(PersonImageI18nTableMap::LOCALE)) $criteria->add(PersonImageI18nTableMap::LOCALE, $this->locale);
        if ($this->isColumnModified(PersonImageI18nTableMap::TITLE)) $criteria->add(PersonImageI18nTableMap::TITLE, $this->title);
        if ($this->isColumnModified(PersonImageI18nTableMap::DESCRIPTION)) $criteria->add(PersonImageI18nTableMap::DESCRIPTION, $this->description);
        if ($this->isColumnModified(PersonImageI18nTableMap::CHAPO)) $criteria->add(PersonImageI18nTableMap::CHAPO, $this->chapo);
        if ($this->isColumnModified(PersonImageI18nTableMap::POSTSCRIPTUM)) $criteria->add(PersonImageI18nTableMap::POSTSCRIPTUM, $this->postscriptum);

        return $criteria;
    }
713338
public function buildCriteria()
    {
        $criteria = new Criteria(PersonFunctionTableMap::DATABASE_NAME);

        if ($this->isColumnModified(PersonFunctionTableMap::ID)) $criteria->add(PersonFunctionTableMap::ID, $this->id);
        if ($this->isColumnModified(PersonFunctionTableMap::CODE)) $criteria->add(PersonFunctionTableMap::CODE, $this->code);
        if ($this->isColumnModified(PersonFunctionTableMap::CREATED_AT)) $criteria->add(PersonFunctionTableMap::CREATED_AT, $this->created_at);
        if ($this->isColumnModified(PersonFunctionTableMap::UPDATED_AT)) $criteria->add(PersonFunctionTableMap::UPDATED_AT, $this->updated_at);

        return $criteria;
    }
640940
public function buildCriteria()
    {
        $criteria = new Criteria(RecordTableMap::DATABASE_NAME);

        if ($this->isColumnModified(RecordTableMap::COL_ID)) {
            $criteria->add(RecordTableMap::COL_ID, $this->id);
        }
        if ($this->isColumnModified(RecordTableMap::COL_MAPUID)) {
            $criteria->add(RecordTableMap::COL_MAPUID, $this->mapuid);
        }
        if ($this->isColumnModified(RecordTableMap::COL_NBLAPS)) {
            $criteria->add(RecordTableMap::COL_NBLAPS, $this->nblaps);
        }
        if ($this->isColumnModified(RecordTableMap::COL_SCORE)) {
            $criteria->add(RecordTableMap::COL_SCORE, $this->score);
        }
        if ($this->isColumnModified(RecordTableMap::COL_NBFINISH)) {
            $criteria->add(RecordTableMap::COL_NBFINISH, $this->nbfinish);
        }
        if ($this->isColumnModified(RecordTableMap::COL_AVGSCORE)) {
            $criteria->add(RecordTableMap::COL_AVGSCORE, $this->avgscore);
        }
        if ($this->isColumnModified(RecordTableMap::COL_CHECKPOINTS)) {
            $criteria->add(RecordTableMap::COL_CHECKPOINTS, $this->checkpoints);
        }
        if ($this->isColumnModified(RecordTableMap::COL_PLAYER_ID)) {
            $criteria->add(RecordTableMap::COL_PLAYER_ID, $this->player_id);
        }
        if ($this->isColumnModified(RecordTableMap::COL_CREATED_AT)) {
            $criteria->add(RecordTableMap::COL_CREATED_AT, $this->created_at);
        }
        if ($this->isColumnModified(RecordTableMap::COL_UPDATED_AT)) {
            $criteria->add(RecordTableMap::COL_UPDATED_AT, $this->updated_at);
        }

        return $criteria;
    }