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