<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Conditions in CakePHP RC6</title>
	<atom:link href="http://cakebaker.wordpress.com/2006/03/02/conditions-in-cakephp-rc6/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.wordpress.com/2006/03/02/conditions-in-cakephp-rc6/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Wed, 08 May 2013 13:40:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.wordpress.com/2006/03/02/conditions-in-cakephp-rc6/#comment-153</link>
		<dc:creator><![CDATA[cakebaker]]></dc:creator>
		<pubDate>Fri, 03 Mar 2006 08:11:56 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.wordpress.com/2006/03/02/conditions-in-cakephp-rc6/#comment-153</guid>
		<description><![CDATA[@Nate: Thanks for the further explanations.

@Sam D: Nice to hear you like it. Thanks :)]]></description>
		<content:encoded><![CDATA[<p>@Nate: Thanks for the further explanations.</p>
<p>@Sam D: Nice to hear you like it. Thanks :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam D</title>
		<link>http://cakebaker.wordpress.com/2006/03/02/conditions-in-cakephp-rc6/#comment-152</link>
		<dc:creator><![CDATA[Sam D]]></dc:creator>
		<pubDate>Thu, 02 Mar 2006 15:33:21 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.wordpress.com/2006/03/02/conditions-in-cakephp-rc6/#comment-152</guid>
		<description><![CDATA[Ok now that is more like it.  I have been waiting for nesting!  Hey Daniel, thanks for this site it is a great little house o&#039; cake!

Sam D]]></description>
		<content:encoded><![CDATA[<p>Ok now that is more like it.  I have been waiting for nesting!  Hey Daniel, thanks for this site it is a great little house o&#8217; cake!</p>
<p>Sam D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://cakebaker.wordpress.com/2006/03/02/conditions-in-cakephp-rc6/#comment-151</link>
		<dc:creator><![CDATA[Nate]]></dc:creator>
		<pubDate>Thu, 02 Mar 2006 15:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.wordpress.com/2006/03/02/conditions-in-cakephp-rc6/#comment-151</guid>
		<description><![CDATA[A couple technical details:
When using &#039;=&#039; as a comparison operator, you actually don&#039;t need to include it, as that is the default, so:

$this-&gt;User-&gt;findAll(array(&#039;User.firstname&#039; =&gt; &#039;= Daniel&#039;));
becomes
$this-&gt;User-&gt;findAll(array(&#039;User.firstname&#039; =&gt; &#039;Daniel&#039;));

Also, you can now use nested arrays for complex conditions, so:
$this-&gt;User-&gt;findAll(&quot;User.firstname = &#039;Daniel&#039; OR User.firstname = &#039;Hugo&#039;&quot;);
could be
$this-&gt;User-&gt;findAll(array(&#039;or&#039; =&gt; array(&quot;User.firstname&quot; =&gt; &#039;Daniel&#039;), array(&#039;User.firstname = &#039;Hugo&#039;&quot;)));]]></description>
		<content:encoded><![CDATA[<p>A couple technical details:<br />
When using &#8216;=&#8217; as a comparison operator, you actually don&#8217;t need to include it, as that is the default, so:</p>
<p>$this-&gt;User-&gt;findAll(array(&#8216;User.firstname&#8217; =&gt; &#8216;= Daniel&#8217;));<br />
becomes<br />
$this-&gt;User-&gt;findAll(array(&#8216;User.firstname&#8217; =&gt; &#8216;Daniel&#8217;));</p>
<p>Also, you can now use nested arrays for complex conditions, so:<br />
$this-&gt;User-&gt;findAll(&#8220;User.firstname = &#8216;Daniel&#8217; OR User.firstname = &#8216;Hugo&#8217;&#8221;);<br />
could be<br />
$this-&gt;User-&gt;findAll(array(&#8216;or&#8217; =&gt; array(&#8220;User.firstname&#8221; =&gt; &#8216;Daniel&#8217;), array(&#8216;User.firstname = &#8216;Hugo&#8217;&#8221;)));</p>
]]></content:encoded>
	</item>
</channel>
</rss>
