sqlobject=9.4 hello,
the documentation you have only treat of Related Join and Multiple Join between two classes. But I didn't successfuly transpose your documentation/example on a self class. I'm trying to have a class person such as ------------------ code ----------------- class Person(SQLObject): sn = UnicodeCol() guarantor = ForeignKey('Person') # # guaranteds ; the opposed of guarantor like guest/host guaranteds = MultipleJoin('person') boss = Person(sn='The boss', guarantor=None) l1 = Person(sn="labor 1", guarantor=boss) l2 = Person(sn="labor 2", guarantor=boss) This work fine l1.guarantor #<Person 1L sn=u'The boss' guarantorID=None> # but this one not at all boss.guaranteds ------------------ code ----------------- Any Idea on how to do such things ?? Ced. -- Cedric BRINER Geneva - Switzerland ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss