/**
  * Filter the query by a related Cajachica object
  *
  * @param   Cajachica|PropelObjectCollection $cajachica  the related object to use as filter
  * @param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
  *
  * @return                 ConceptocajachicaQuery The current query, for fluid interface
  * @throws PropelException - if the provided filter is invalid.
  */
 public function filterByCajachica($cajachica, $comparison = null)
 {
     if ($cajachica instanceof Cajachica) {
         return $this->addUsingAlias(ConceptocajachicaPeer::IDCONCEPTOCAJACHICA, $cajachica->getIdconceptocajachica(), $comparison);
     } elseif ($cajachica instanceof PropelObjectCollection) {
         return $this->useCajachicaQuery()->filterByPrimaryKeys($cajachica->getPrimaryKeys())->endUse();
     } else {
         throw new PropelException('filterByCajachica() only accepts arguments of type Cajachica or PropelCollection');
     }
 }