#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 elbouillon):
I understand that it's not possible to hydrate without primary keys, but
if you take a look to my ticket #588, I use a group by and if the
primary_key is added my request don't work until I add the primary key
field in the group by, which makes my query false.
So, how to do queries w/o hydrating ? I tryied to use Doctrine_Raw_Sql,
but the selected fields are added the same way.
Thank you for your answer!
--
Ticket URL: <http://trac.phpdoctrine.org/ticket/1492#comment:6>
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
-~----------~----~----~----~------~----~------~--~---