src/model/Base/VideoQuery.php
public function filterByAthleteId($athleteId = null, $comparison = null)
    {
        if (is_array($athleteId)) {
            $useMinMax = false;
            if (isset($athleteId['min'])) {
                $this->addUsingAlias(VideoTableMap::COL_ATHLETE_ID, $athleteId['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($athleteId['max'])) {
                $this->addUsingAlias(VideoTableMap::COL_ATHLETE_ID, $athleteId['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(VideoTableMap::COL_ATHLETE_ID, $athleteId, $comparison);
    }
public function filterByAthleteId($athleteId = null, $comparison = null)
    {
        if (is_array($athleteId)) {
            $useMinMax = false;
            if (isset($athleteId['min'])) {
                $this->addUsingAlias(VideoTableMap::COL_ATHLETE_ID, $athleteId['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($athleteId['max'])) {
                $this->addUsingAlias(VideoTableMap::COL_ATHLETE_ID, $athleteId['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(VideoTableMap::COL_ATHLETE_ID, $athleteId, $comparison);
    }
public function filterByAthleteId ( $ athleteId = null , $ comparison = null ) { if ( is_array ( $ athleteId ) ) { $ useMinMax = false ; if ( isset ( $ athleteId [ 'min' ] ) ) { $ this -> addUsingAlias ( VideoTableMap :: COL_ATHLETE_ID , $ athleteId [ 'min' ] , Criteria :: GREATER_EQUAL ) ; $ useMinMax = true ; } if ( isset ( $ athleteId [ 'max' ] ) ) { $ this -> addUsingAlias ( VideoTableMap :: COL_ATHLETE_ID , $ athleteId [ 'max' ] , Criteria :: LESS_EQUAL ) ; $ useMinMax = true ; } if ( $ useMinMax ) { return $ this ; } if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( VideoTableMap :: COL_ATHLETE_ID , $ athleteId , $ comparison ) ; }
Filter the query on the athlete_id column

Example usage:
<code>
$query->filterByAthleteId(1234); // WHERE athlete_id = 1234
$query->filterByAthleteId(array(12, 34)); // WHERE athlete_id IN (12, 34)
$query->filterByAthleteId(array('min' => 12)); // WHERE athlete_id > 12
</code>

@param     mixed $athleteId The value to use as filter.
Use scalar values for equality.
Use array values for in_array() equivalent.
Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return $this|ChildVideoQuery The current query, for fluid interface
Filter the query on the athlete_id column