Yes, you need to delete everything manually that is referenced by
anything that is to be deleted.
No, you don't. .destroySelf() in SQLObject 0.7.2 was extended to
automatically remove rows from the intermediate table. Does it work?
Maybe I'm misunderstanding you but if a foreignkey
I have two simple SQLObject classes, WebTag and WebTopic that are
related using a RelatedJoin:
class WebTag(SQLObject):
Name = StringCol( alternateID=True)
Topics = RelatedJoin('WebTopic')
class WebTopic(SQLObject):
Name = StringCol( unique=True )
Format
On 7/9/07, Oleg Broytmann [EMAIL PROTECTED] wrote:
On Mon, Jul 09, 2007 at 12:09:25PM +0200, Daniel Nogradi wrote:
Yes, you need to delete everything manually that is referenced by
anything that is to be deleted.
No, you don't. .destroySelf() in SQLObject 0.7.2 was extended to
On Mon, Jul 09, 2007 at 08:28:51AM -0400, Jon R. Fox wrote:
I switched to
WebTag.get(tag_id_to_delete).destroySelf()
This is equivalent to
WebTag.delete(tag_id_to_delete)
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
Programmers don't