Doctrine doesn't support something like a @Hidden annotation.

You'll need to manually select the properties you want to hydrate. So in stead 
of:

    SELECT u FROM User u

You do:

    SELECT u.id, u.name FROM User u

--  
Jasper N. Brouwer
(@jaspernbrouwer)


On 9 December 2014 at 12:42:27, Pavel Sokolov ([email protected]) wrote:
> Yes, I mean not to get property when executing query.
> It is very hard to manually unset it from returned array because I'm using
> complicated queries with many joins and returned array has many nested
> arrays inside.
> It will be better to add annotation like '@Hidden' to Model class.


-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to