2010/9/10 Jacek Kałucki <[email protected]>: > Użytkownik Nate Lowrie napisał: >> So I can do the following and it will automatically recognize the alias? >> >> self.addJoin("addresses", >> "orders.shipping_address_id=shipping_address.id", joinType='inner') >> self.addJoin("addresses", >> "orders.billing_address_id=billing_address.id", joinType='inner') >> >> I just tried it and it's not working for me. >> > > This works for me: > > self.addJoin( > "addresses as shipping_address", > "orders.shipping_address_id=shipping_address.id", > joinType='inner' > )
Alright, that works. Missing the "as". _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
