mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-797: WHERE EXISTS example code doesn't make sense in docs #980
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 (Sep 10, 2010).
Jira issue originally created by user mjh_ca:
Example for "WHERE EXISTS" in DQL section of docs currently reads:
But, *p.phonenumber = u.id* doesn't make sense - you're comparing the PK of a CmsPhoneNumber to a PK of a CmsUser. I think it is supposed to be p.user = u.id :
Also consider updating the test at Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php line 466 to match.
@doctrinebot commented on GitHub (Sep 30, 2010):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Sep 30, 2010):
Issue was closed with resolution "Fixed"