Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

deleteall in cakephp

// Delete all the spam
function destroySpam()
{
    return $this->deleteAll(['is_spam' => true]);
}
 
PREVIOUS NEXT
Tagged: #deleteall #cakephp
ADD COMMENT
Topic
Name
2+1 =