You would need to do a find on the record you plan on deleting this will then show you all the related records that would be deleted with it I believe.
On Tuesday, 23 April 2013 18:58:11 UTC+1, advantage+ wrote: > > I have a fairly large database with a lot of records related to each other > and need to follow the cascades on deletion of records from various points > in the site and see what would be related along the trail. > > But I do not want to delete these records as then I have to go back and > create them and that takes quite a bit of time even with an automated > script since it cross's between Users, their Role, and their records with > hasMany, belongsTo, HABTM, to other parts of the site and so on. > > > > Is there a way to follow a delete thru its relations / cascade to return > what would be deleted but not actually delete anything? > > > > Thanks > > Dave > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
