[sqlalchemy] Re: guessing sql joins from object level

2006-12-15 Thread che
Hi, Michael Bayer написа: SA can form joins between tables automatically if the tables express the proper foreign key relationship between each other, and if there is no ambiguity in that relationship; i.e. table A and table B have only one ForeignKeyConstraint (or single ForeignKey)

[sqlalchemy] Re: guessing sql joins from object level

2006-12-15 Thread Michael Bayer
a.join(b).join(c).join(d).join(e). just do a little experimentation, it'll reveal a lot. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to

[sqlalchemy] Re: guessing sql joins from object level

2006-12-08 Thread Michael Bayer
SA can form joins between tables automatically if the tables express the proper foreign key relationship between each other, and if there is no ambiguity in that relationship; i.e. table A and table B have only one ForeignKeyConstraint (or single ForeignKey) between each other. if you have table