/**
  * Filter the query by a related \INSEEGeo\Model\InseeGeoDepartment object
  *
  * @param \INSEEGeo\Model\InseeGeoDepartment|ObjectCollection $inseeGeoDepartment The related object(s) to use as filter
  * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return ChildInseeGeoDepartmentI18nQuery The current query, for fluid interface
  */
 public function filterByInseeGeoDepartment($inseeGeoDepartment, $comparison = null)
 {
     if ($inseeGeoDepartment instanceof \INSEEGeo\Model\InseeGeoDepartment) {
         return $this->addUsingAlias(InseeGeoDepartmentI18nTableMap::ID, $inseeGeoDepartment->getId(), $comparison);
     } elseif ($inseeGeoDepartment instanceof ObjectCollection) {
         if (null === $comparison) {
             $comparison = Criteria::IN;
         }
         return $this->addUsingAlias(InseeGeoDepartmentI18nTableMap::ID, $inseeGeoDepartment->toKeyValue('PrimaryKey', 'Id'), $comparison);
     } else {
         throw new PropelException('filterByInseeGeoDepartment() only accepts arguments of type \\INSEEGeo\\Model\\InseeGeoDepartment or Collection');
     }
 }