Google Groups Home
Help | Sign in
Message from discussion #1210: Selected field with alias is not recognized
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Doctrine  
View profile
 More options 4 Jul, 12:46
From: "Doctrine" <no-re...@phpdoctrine.org>
Date: Fri, 04 Jul 2008 11:46:08 -0000
Local: Fri 4 Jul 2008 12:46
Subject: Re: [Doctrine] #1210: Selected field with alias is not recognized
#1210: Selected field with alias is not recognized
------------------------------+-------------------------------------------- -
  Reporter:  Max_Schreck      |       Owner:  romanb              
      Type:  defect           |      Status:  closed              
  Priority:  minor            |   Milestone:  0.11.1              
 Component:  Query/Hydration  |     Version:  0.11                
Resolution:  wontfix          |    Keywords:                      
  Has_test:  0                |    Mystatus:  Pending Core Response
 Has_patch:  0                |  
------------------------------+-------------------------------------------- -
Comment (by romanb):

 You are right, thats mainly a problem of the current DQL parser which is
 far from accurate when it comes to accepting/declining certain input.
 If you're interested in what is on the agenda for hydration & DQL in 2.0
 this might interest you: http://trac.phpdoctrine.org/wiki/NewHydration

 Although 2.0 is far away we plan to backport the scalar hydration modes to
 1.0. But the special SCALAR() DQL function will most likely not be
 backported.
 So in 2.0 you will be able to do sth like this: select scalar(up.name)
 up_name ... The resulting scalar value will not be put into any objects
 however, as you can see in the link above.

--
Ticket URL: <http://trac.phpdoctrine.org/ticket/1210#comment:3>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google