original_string: public function filterBySportId($sportId = null, $comparison = null)
      {
          if (is_array($sportId)) {
              $useMinMax = false;
              if (isset($sportId['min'])) {
                  $this->addUsingAlias(ObjectTableMap::COL_SPORT_ID, $sportId['min'], Criteria::GREATER_EQUAL);
                  $useMinMax = true;
              }
              if (isset($sportId['max'])) {
                  $this->addUsingAlias(ObjectTableMap::COL_SPORT_ID, $sportId['max'], Criteria::LESS_EQUAL);
                  $useMinMax = true;
              }
              if ($useMinMax) {
                  return $this;
              }
              if (null === $comparison) {
                  $comparison = Criteria::IN;
              }
          }
  
          return $this->addUsingAlias(ObjectTableMap::COL_SPORT_ID, $sportId, $comparison);
      }
code: public function filterBySportId($sportId = null, $comparison = null)
      {
          if (is_array($sportId)) {
              $useMinMax = false;
              if (isset($sportId['min'])) {
                  $this->addUsingAlias(ObjectTableMap::COL_SPORT_ID, $sportId['min'], Criteria::GREATER_EQUAL);
                  $useMinMax = true;
              }
              if (isset($sportId['max'])) {
                  $this->addUsingAlias(ObjectTableMap::COL_SPORT_ID, $sportId['max'], Criteria::LESS_EQUAL);
                  $useMinMax = true;
              }
              if ($useMinMax) {
                  return $this;
              }
              if (null === $comparison) {
                  $comparison = Criteria::IN;
              }
          }
  
          return $this->addUsingAlias(ObjectTableMap::COL_SPORT_ID, $sportId, $comparison);
      }
code_tokens: public function filterBySportId ( $ sportId = null , $ comparison = null ) { if ( is_array ( $ sportId ) ) { $ useMinMax = false ; if ( isset ( $ sportId [ 'min' ] ) ) { $ this -> addUsingAlias ( ObjectTableMap :: COL_SPORT_ID , $ sportId [ 'min' ] , Criteria :: GREATER_EQUAL ) ; $ useMinMax = true ; } if ( isset ( $ sportId [ 'max' ] ) ) { $ this -> addUsingAlias ( ObjectTableMap :: COL_SPORT_ID , $ sportId [ 'max' ] , Criteria :: LESS_EQUAL ) ; $ useMinMax = true ; } if ( $ useMinMax ) { return $ this ; } if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( ObjectTableMap :: COL_SPORT_ID , $ sportId , $ comparison ) ; }
docstring: Filter the query on the sport_id column
  
  Example usage:
  <code>
  $query->filterBySportId(1234); // WHERE sport_id = 1234
  $query->filterBySportId(array(12, 34)); // WHERE sport_id IN (12, 34)
  $query->filterBySportId(array('min' => 12)); // WHERE sport_id > 12
  </code>
  
  @see       filterBySport()
  
  @param     mixed $sportId 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|ChildObjectQuery The current query, for fluid interface
docstring_tokens: Filter the query on the sport_id column