#1488: leftJoin ON clause: "a.field BETWEEN b.field1 AND b.field2" is not parsed
properly
-----------------------------------+----------------------------------------
Reporter: chrisschu | Owner: romanb
Type: defect | Status: new
Priority: minor | Milestone:
Component: Query/Hydration | Version: 1.0
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
If I add an ON clause to a left join myself (and overwrite the native ON
clause), the aliases of the database fields are translated to s1, s2, ...,
sn. This works on a BETWEEN condition only for the first and the second,
but not on the third field.
{{{a.field BETWEEN b.field1 AND b.field2}}}
would be translated to
{{{s1.field BETWEEN s2.field1 AND b.field2}}}
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1488>
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
-~----------~----~----~----~------~----~------~--~---