#1492: Non-selected fields appear in query results
------------------------------+---------------------------------------------
Reporter: colnector | Owner: romanb
Type: defect | Status: new
Priority: major | Milestone:
Component: Query/Hydration | Version: 1.0
Resolution: | Keywords:
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
------------------------------+---------------------------------------------
Comment (by colnector):
I've now opened a ticket about the lack of documentation of
Doctrine::HYDRATE_NONE [http://trac.doctrine-project.org/ticket/1497
#1497]
I cannot understand why you would have to have all the PKs for array
hydration or no hydration. When the PK is needed (for object hydration)
then an exception is the right solution. There already is an exception
raised if a PK of a JOINed table isn't selected.
If you wish for me to go over the code, please refer me to relevant
sections as I don't know it.
Thanks
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1492#comment:8>
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
-~----------~----~----~----~------~----~------~--~---