Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 10 and Version 11 of SimpleDelete


Ignore:
Timestamp:
03/04/06 18:15:32 (13 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SimpleDelete

    v10 v11  
    3939 
    4040''- Jorge Godoy'' 
     41 
     42------ 
     43 
     44How do I go about deleting a bunch of related items? 
     45 
     46I have a User and he has Items, I want to delete the User with his Items. Right now I go around and loop on the user.items and .destroySelf them, but that's inefficient SQL. I could just do "DELETE FROM item WHERE item.userID = x". Is there anyway to achieve it with SQLObject?