On Jan 5, 2012, at 9:46 AM, kek06 wrote: > If you are using backref, is there a difference between choosing a > "One to Many" or "Many to One" relationship ?
one-to-many and many-to-one are always complementary. think of it as george washington and an eagle on both sides of a quarter. the backref will always be the complementing direction to the forwards relationship. From a configuration standpoint, there's no net difference which side gets relationship() and which gets backref() - it's equivalent to using two relationship() constructs with back_populates on either side. -- 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 sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.