mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-652: DQL with association property doesn't work (Undefined index in SqlWalker.php) #802
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jun 24, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user jakajancar:
In my model, Users can have many Campaigns, each of which can have many Ads:
Some campaigns do not belong to any user (user is NULL).
When trying to find ads in such campaigns using DQL such as:
I get:
I would expect a LEFT JOIN to be done and campaign.userId IS NULL to be checked in the WHERE condition.
Is this not supported, or am I doing something wrong?