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