Search code examples
phpormdoctrine-ormdql

Doctrine DQL RIGHT JOIN?


Is it possible to do a RIGHT OUTER JOIN in Doctrine 2 DQL?


Solution

  • As far as I know, there is still no way to do that in DQL, and the reason might be that it does not make much sense from an ORM perspective, according to one of the lead developers.

    Nevertheless, the feature request, although very old, is still open; so it might be implemented in the future.