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

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

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