Re: [SQLObject] Multiple join on a self class

2008-03-10 Thread cedric briner
Oleg Broytmann wrote: > On Mon, Mar 10, 2008 at 02:16:46PM +0100, cedric briner wrote: >> sqlobject=9.4 >> >> class Person(SQLObject): >> sn = UnicodeCol() >> guarantor = ForeignKey('Person') >> # >> # guaranteds ; the opposed of guarantor like guest/host >> guaranteds = Multipl

Re: [SQLObject] Multiple join on a self class

2008-03-10 Thread Oleg Broytmann
On Mon, Mar 10, 2008 at 02:16:46PM +0100, cedric briner wrote: > sqlobject=9.4 > > class Person(SQLObject): > sn = UnicodeCol() > guarantor = ForeignKey('Person') > # > # guaranteds ; the opposed of guarantor like guest/host > guaranteds = MultipleJoin('person') > > boss = Per

[SQLObject] Multiple join on a self class

2008-03-10 Thread cedric briner
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(SQ