#1494: Allow multiple columns for INDEXBY
-----------------------------------+----------------------------------------
Reporter: colnector | Owner: jwage
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Attributes | Version: Trunk
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
Currently INDEXBY is limited to a single column and so if one wants to use
its power with a primary key (at least of the result set) that is made
from more than one column, it cannot be done.
For example:
ItemPicture(item_id, category_id, picture_id)
Now if I want to have the INDEXBY use both item_id and category_id (since
item_id may be the same for a different category_id), I cannot do it.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1494>
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
-~----------~----~----~----~------~----~------~--~---