[sqlalchemy] Re: no syncrules generated problem with many-to-many relationship

2007-05-23 Thread Randall Smith
Michael Bayer wrote: I should learn to explain better what syncrules are about, so heres an attempt: when you have a table A and a table B, and then a mapping relationship between A and B, theres a join condition set up between the two tables. By default, it draws from the foreign keys of

[sqlalchemy] Re: no syncrules generated problem with many-to-many relationship

2007-05-23 Thread Randall Smith
Responding to myself. As I wrote the first message, I started thinking how just deleting the FK after metadata.create_all() wouldn't be so bad and now I think that's a pretty good solution. Randall Randall Smith wrote: Michael Bayer wrote: I should learn to explain better what syncrules

[sqlalchemy] Re: no syncrules generated problem with many-to-many relationship

2006-12-01 Thread Michael Bayer
I should learn to explain better what syncrules are about, so heres an attempt: when you have a table A and a table B, and then a mapping relationship between A and B, theres a join condition set up between the two tables. By default, it draws from the foreign keys of the tables. Alternatively,