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 problem is changing of IDs in the joined table.
Existing objects has to be updated, not replaced, IMO.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to