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

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

        return $this->addUsingAlias(CustomerCustomerGroupTableMap::CUSTOMER_GROUP_ID, $customerGroupId, $comparison);
    }
public function filterByCustomerGroupId ( $ customerGroupId = null , $ comparison = null ) { if ( is_array ( $ customerGroupId ) ) { $ useMinMax = false ; if ( isset ( $ customerGroupId [ 'min' ] ) ) { $ this -> addUsingAlias ( CustomerCustomerGroupTableMap :: CUSTOMER_GROUP_ID , $ customerGroupId [ 'min' ] , Criteria :: GREATER_EQUAL ) ; $ useMinMax = true ; } if ( isset ( $ customerGroupId [ 'max' ] ) ) { $ this -> addUsingAlias ( CustomerCustomerGroupTableMap :: CUSTOMER_GROUP_ID , $ customerGroupId [ 'max' ] , Criteria :: LESS_EQUAL ) ; $ useMinMax = true ; } if ( $ useMinMax ) { return $ this ; } if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( CustomerCustomerGroupTableMap :: CUSTOMER_GROUP_ID , $ customerGroupId , $ comparison ) ; }
Filter the query on the customer_group_id column

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

@see       filterByCustomerGroup()

@param     mixed $customerGroupId 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 ChildCustomerCustomerGroupQuery The current query, for fluid interface
Filter the query on the customer_group_id column