#1508: Problem placing the from() later in Doctrine_Query
------------------------------+---------------------------------------------
  Reporter:  colnector        |       Owner:  romanb               
      Type:  defect           |      Status:  closed               
  Priority:  minor            |   Milestone:  1.0.3                
 Component:  Query/Hydration  |     Version:  1.0.2                
Resolution:  invalid          |    Keywords:                       
  Has_test:  0                |    Mystatus:  Pending Core Response
 Has_patch:  0                |  
------------------------------+---------------------------------------------
Changes (by jwage):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  => 1.0.3

Comment:

 In Doctrine the from() method replaces all the from parts of the query.
 innerJoin() and leftJoin() are a part of the from parts array so when you
 call from() later on in the query it overrides the the inner join you
 specified. You can use addFrom() later in the query to do what you want.

-- 
Ticket URL: <http://trac.doctrine-project.org/ticket/1508#comment:1>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to