[sqlalchemy] Re: Joining multiple tables

2007-08-17 Thread Vetle Roeim
On 8/17/07, Michael Bayer [EMAIL PROTECTED] wrote: hi Vetle - the Table object supports a join() method, which can be called in a chain, i.e. table1.join(table2).join(table3)... if you need to specify the ON part of the join, its the second argument to join() (below illustrated with

[sqlalchemy] Re: Joining multiple tables

2007-08-16 Thread Michael Bayer
hi Vetle - the Table object supports a join() method, which can be called in a chain, i.e. table1.join(table2).join(table3)... if you need to specify the ON part of the join, its the second argument to join() (below illustrated with two joins back to table1): table1.join(table2,