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

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

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