Answers for "delete in cakephp 2"

PHP
0

deleteall in cakephp

// Delete all the spam
function destroySpam()
{
    return $this->deleteAll(['is_spam' => true]);
}
Posted by: Guest on May-04-2021

Browse Popular Code Answers by Language