public function filterByDealerProductVersion($dealerProductVersion, $comparison = null)
    {
        if ($dealerProductVersion instanceof \Dealer\Model\DealerProductVersion) {
            return $this
                ->addUsingAlias(DealerProductTableMap::ID, $dealerProductVersion->getId(), $comparison);
        } elseif ($dealerProductVersion instanceof ObjectCollection) {
            return $this
                ->useDealerProductVersionQuery()
                ->filterByPrimaryKeys($dealerProductVersion->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByDealerProductVersion() only accepts arguments of type \Dealer\Model\DealerProductVersion or Collection');
        }
    }
public function filterByDealerProductVersion($dealerProductVersion, $comparison = null)
    {
        if ($dealerProductVersion instanceof \Dealer\Model\DealerProductVersion) {
            return $this
                ->addUsingAlias(DealerProductTableMap::ID, $dealerProductVersion->getId(), $comparison);
        } elseif ($dealerProductVersion instanceof ObjectCollection) {
            return $this
                ->useDealerProductVersionQuery()
                ->filterByPrimaryKeys($dealerProductVersion->getPrimaryKeys())
                ->endUse();
        } else {
            throw new PropelException('filterByDealerProductVersion() only accepts arguments of type \Dealer\Model\DealerProductVersion or Collection');
        }
    }
public function filterByDealerProductVersion ( $ dealerProductVersion , $ comparison = null ) { if ( $ dealerProductVersion instanceof \ Dealer \ Model \ DealerProductVersion ) { return $ this -> addUsingAlias ( DealerProductTableMap :: ID , $ dealerProductVersion -> getId ( ) , $ comparison ) ; } elseif ( $ dealerProductVersion instanceof ObjectCollection ) { return $ this -> useDealerProductVersionQuery ( ) -> filterByPrimaryKeys ( $ dealerProductVersion -> getPrimaryKeys ( ) ) -> endUse ( ) ; } else { throw new PropelException ( 'filterByDealerProductVersion() only accepts arguments of type \Dealer\Model\DealerProductVersion or Collection' ) ; } }
Filter the query by a related \Dealer\Model\DealerProductVersion object

@param \Dealer\Model\DealerProductVersion|ObjectCollection $dealerProductVersion  the related object to use as filter
@param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildDealerProductQuery The current query, for fluid interface
Filter the query by a related \ Dealer \ Model \ DealerProductVersion object