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 1 and Version 2 of SimpleDelete


Ignore:
Timestamp:
11/13/05 20:32:26 (9 years ago)
Author:
luke@…
Comment:

typo fixed

Legend:

Unmodified
Added
Removed
Modified
  • SimpleDelete

    v1 v2  
    11The docs clearly show how to insert/update a record, but not how to delete one. 
    22 
    3 If you have a reference to the object, simple call object.destroySelf() to remove it from the data base, '''provided it is not a foreign key or has any relationships depending on it.''' 
     3If you have a reference to the object, simply call object.destroySelf() to remove it from the data base, '''provided it is not a foreign key or has any relationships depending on it.''' 
    44 
    55If you do not have a reference to the object, simply select to get the record, and dereference it to get the object reference.