I have two tables:
Table1:
Table2:
I want to join Table1 with Table2 on fk1 and fk2. How can I do this two joins and after that get both name attributes from Table2. I would like to do it with Table1Query rather than Table1Peer.
Take a look at my answer to this question: Naming Generated Functions in Propel
Since you have two foreign keys that point to the same table, you need to utilize the "phpName" attribute on the "foreign-key" element.