public function filterByCustomerCustomerGroup($customerCustomerGroup, $comparison = null)
    {
        if ($customerCustomerGroup instanceof \CustomerGroup\Model\CustomerCustomerGroup) {
            return $this
                ->addUsingAlias(CustomerGroupTableMap::ID, $customerCustomerGroup->getCustomerGroupId(), $comparison);
        } elseif ($customerCustomerGroup instanceof ObjectCollection) {
            return $this
                ->useCustomerCustomerGroupQuery()
                ->filterByPrimaryKeys($customerCustomerGroup->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByCustomerCustomerGroup() only accepts arguments of type \CustomerGroup\Model\CustomerCustomerGroup or Collection');
        }
    }