cakephp/cakephp — pull request #1369 by markstory (2013-06-22 00:33:01+00:00)
Title: 3.0 - Add basic implementation of deleteAll().

Add `Table::deleteAll()`. Much like updateAll this method doesn't trigger any events or handle the pseudo cascade features in associations. This is intentional to some degree. The code that handled events in 2.x did so in an unsafe way when concurrency was involved.

Joins during deletes have also been omitted. Joins are not evenly supported well across platform, and in almost all situations a delete + subquery will do the same thing in a more portable way. I'm also considering removing join support for update for the same reasons.