I am using some many-to-many joins which are conditional. Exactly what is 
described at this questions at 
stackoverflow<http://stackoverflow.com/questions/16711299/doctrine-manytomany-relation-with-join-condition>.
 
For simplicity reasons I will stick with the case as described on 
stackoverflow.

There are two tables: Accounts and Company. The two tables are joined with 
the table account_company which does have and primary key on the fields 
account_id and company_id. The table account_company also has the field 
'is_deleted'.

Suppose I want to search for all old accounts (is_deleted=1). Is there any 
method to do this without an AccountCompany entity?

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