#1467: REGRESSION: Problem with many-to-many
------------------------------+---------------------------------------------
Reporter: colnector | Owner: romanb
Type: defect | Status: new
Priority: critical | Milestone: 1.0.3
Component: Query/Hydration | Version: 1.0.0
Resolution: | Keywords:
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
------------------------------+---------------------------------------------
Comment (by colnector):
This ticket has been opened almost a month ago. I cannot tell now which
revision made this stop working but I'm guessing it would be a few days
before sep18th when it was reported.
9 days ago I requested a suggested workaround to do what seems (at least
to me) a relatively common database action. The features relying on these
queries are left broken on my product since I expected that a critical
defect would be addressed quickly enough.
Please, if this is not fixed in the next few days, suggest a workaround
{{{
Puzzle is made of a few pictures, each belonging to a different item.
Thus:
Item(id,...)
Picture(id,...)
ItemPicture(item_id, picture_id,...)
Puzzle(id, item_id,....)
Now I wish to get the Puzzle's Items' Pictures to display the puzzle. To
do that I need to join Puzzle and ItemPicture ON item_id.
}}}
This is extremely simple in SQL (SELECT picture_id FROM ItemPicture JOIN
Puzzle ON ItemPicture.item_id=Puzzle_item_id). Is it impossible with
DQL???
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1467#comment:12>
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
-~----------~----~----~----~------~----~------~--~---