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

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

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