<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: CakePHP : Delete multiple records</title>
	<atom:link href="http://www.lost-in-code.com/programming/php-code/cakephp-delete-multiple-records/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lost-in-code.com/programming/php-code/cakephp-delete-multiple-records/</link>
	<description>Web Development Resources</description>
	<lastBuildDate>Tue, 23 Feb 2010 08:17:48 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jets</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-delete-multiple-records/comment-page-1/#comment-787</link>
		<dc:creator>jets</dc:creator>
		<pubDate>Thu, 21 Jan 2010 08:02:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2007/09/20/cakephp-delete-multiple-records/#comment-787</guid>
		<description>hey, nice tipics buddy... i used this &amp; working great.</description>
		<content:encoded><![CDATA[<p>hey, nice tipics buddy&#8230; i used this &amp; working great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Minne</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-delete-multiple-records/comment-page-1/#comment-34</link>
		<dc:creator>Peter Minne</dc:creator>
		<pubDate>Sun, 07 Sep 2008 15:14:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/2007/09/20/cakephp-delete-multiple-records/#comment-34</guid>
		<description>The &quot;deleteAll&quot; requires a condition as first parameter. So your example to truncate a table should be something like this:

$this-&gt;Model-&gt;deleteAll(&#039;1 = 1&#039;, false);

Personally I think it would make sense if the cake team would implement an additional &quot;truncate&quot; method.</description>
		<content:encoded><![CDATA[<p>The &#8220;deleteAll&#8221; requires a condition as first parameter. So your example to truncate a table should be something like this:</p>
<p>$this-&gt;Model-&gt;deleteAll(&#8217;1 = 1&#8242;, false);</p>
<p>Personally I think it would make sense if the cake team would implement an additional &#8220;truncate&#8221; method.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->