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, table1.c.id==table2.c.someid).join(table3,
table1.c.id==table3.c.id)


hope this helps...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to