Re: [SQLObject] Assignment to MultipleJoin

2007-03-27 Thread Gregor Horvath
Oleg Broytmann schrieb: > >Don't know about other parts but this one has more problems than > performance. The worst problem is changing of IDs in the joined table. > Existing objects has to be updated, not replaced, IMO. > hmm Your are correct. Not a problem in my current usage, but definit

Re: [SQLObject] Assignment to MultipleJoin

2007-03-27 Thread Oleg Broytmann
On Tue, Mar 27, 2007 at 12:53:28PM +0200, Gregor Horvath wrote: > #delete dependend rows > for oldrow in getattr(self, name): >oldrow.destroySelf() #performance? Don't know about other parts but this one has more problems than performance. The worst

[SQLObject] Assignment to MultipleJoin

2007-03-27 Thread Gregor Horvath
Hi I have created a possibilty to assign a list of dicts to a MultipleJoin column of an sqlobject and the sub-objects are automatically created. It works for me in this project but I have no idea if this could be a general solution for SQLObject? class BaseObject(SQLObject): def __setattr__