On 27 Lip, 05:30, svilen <[EMAIL PROTECTED]> wrote: > i think u should not make 2 separate relations, but one relation on > one of the tables, with a backref to the other. > i.e. just > mapper( T1, t1, properties={"t2s": relation(T2, lazy=False, > backref='t1')}) > do check doco, just in case.
Nope, it doesn't work :( In docs there is only about lazy parameter that should work for this but it does not :( Probably I misunderstood something. Regards Michal Nowikowski --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---