/**
  * Filter the query by a related \EVE\InvCategories object
  *
  * @param \EVE\InvCategories|ObjectCollection $invCategories The related object(s) to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @throws \Propel\Runtime\Exception\PropelException
  *
  * @return ChildInvGroupsQuery The current query, for fluid interface
  */
 public function filterByInvCategories($invCategories, $comparison = null)
 {
     if ($invCategories instanceof \EVE\InvCategories) {
         return $this->addUsingAlias(InvGroupsTableMap::COL_CATEGORYID, $invCategories->getCategoryid(), $comparison);
     } elseif ($invCategories instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(InvGroupsTableMap::COL_CATEGORYID, $invCategories->toKeyValue('PrimaryKey', 'Categoryid'), $comparison);
     } else {
         throw new PropelException('filterByInvCategories() only accepts arguments of type \\EVE\\InvCategories or Collection');
     }
 }