Hi,

I'm starting with Doctrine 2 + Zend Framework 2.
I have an Entity Account which has a OneToMany relationship to Profile. If 
I call getProfiles on Account, I only want Profile instances with the 
column 'active' = 'yes'. Of course, I want it to call on the Account Entity 
instance (getProfiles() or getActiveProfiles()).

How to do this in the best way? I didn't find a solution for this (no 
annotations, no possibility to access the QueryBuilder within the entity).

Gerard

-- 
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