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

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

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