Changes between Version 77 and Version 78 of S3/S3REST/s3_rest_controller
- Timestamp:
- 10/15/12 13:23:17 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/s3_rest_controller
v77 v78 264 264 265 265 '''Note:''' at the time when the callback is invoked, the record is already deleted from the database. 266 266 267 '''Note:''' the ''record'' will only contain the record ID but no details 267 268 269 '''Note:''' ''soft-''deleted (archived) records hold their former foreign keys as a JSON object in the {{{deleted_fk}}} field, whilst all foreign key fields will be set to None. 270 271 '''Important:''' Do not delete a record by simply settings its {{{deleted}}} field to True. This would neither perform the necessary cascading, nor invoke any callbacks nor does it properly store and release any foreign key constraints. Always use S3Resource.delete() to delete records! 268 272 === Pagination === 269 273