/** * Exclude object from result * * @param ChildGoogleshoppingProductSynchronisation $googleshoppingProductSynchronisation Object to remove from the list of results * * @return ChildGoogleshoppingProductSynchronisationQuery The current query, for fluid interface */ public function prune($googleshoppingProductSynchronisation = null) { if ($googleshoppingProductSynchronisation) { $this->addUsingAlias(GoogleshoppingProductSynchronisationTableMap::ID, $googleshoppingProductSynchronisation->getId(), Criteria::NOT_EQUAL); } return $this; }
/** * Filter the query by a related \GoogleShopping\Model\GoogleshoppingProductSynchronisation object * * @param \GoogleShopping\Model\GoogleshoppingProductSynchronisation|ObjectCollection $googleshoppingProductSynchronisation the related object to use as filter * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return ChildGoogleshoppingAccountQuery The current query, for fluid interface */ public function filterByGoogleshoppingProductSynchronisation($googleshoppingProductSynchronisation, $comparison = null) { if ($googleshoppingProductSynchronisation instanceof \GoogleShopping\Model\GoogleshoppingProductSynchronisation) { return $this->addUsingAlias(GoogleshoppingAccountTableMap::ID, $googleshoppingProductSynchronisation->getGoogleshoppingAccountId(), $comparison); } elseif ($googleshoppingProductSynchronisation instanceof ObjectCollection) { return $this->useGoogleshoppingProductSynchronisationQuery()->filterByPrimaryKeys($googleshoppingProductSynchronisation->getPrimaryKeys())->endUse(); } else { throw new PropelException('filterByGoogleshoppingProductSynchronisation() only accepts arguments of type \\GoogleShopping\\Model\\GoogleshoppingProductSynchronisation or Collection'); } }