<?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: Left Joins with multiple conditions using Propel Criteria</title>
	<atom:link href="http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/feed/" rel="self" type="application/rss+xml" />
	<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/</link>
	<description>Development Blog</description>
	<lastBuildDate>Thu, 17 Nov 2011 00:02:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Jasper</title>
		<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/comment-page-1/#comment-614</link>
		<dc:creator>Jasper</dc:creator>
		<pubDate>Thu, 26 Aug 2010 20:45:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/?p=11#comment-614</guid>
		<description>U just saved my day! Thank you.</description>
		<content:encoded><![CDATA[<p>U just saved my day! Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Fabry</title>
		<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/comment-page-1/#comment-592</link>
		<dc:creator>Jan Fabry</dc:creator>
		<pubDate>Tue, 18 May 2010 12:50:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/?p=11#comment-592</guid>
		<description>If you use Propel 1.4 or 1.5, you can use the new addMultipleJoin method of your Criteria object [ http://www.propelorm.org/ticket/606 ]. However, it is not injection-safe, and will probably be rewritten for Propel 1.6 [ http://www.propelorm.org/ticket/878 ].</description>
		<content:encoded><![CDATA[<p>If you use Propel 1.4 or 1.5, you can use the new addMultipleJoin method of your Criteria object [ <a href="http://www.propelorm.org/ticket/606" rel="nofollow">http://www.propelorm.org/ticket/606</a> ]. However, it is not injection-safe, and will probably be rewritten for Propel 1.6 [ <a href="http://www.propelorm.org/ticket/878" rel="nofollow">http://www.propelorm.org/ticket/878</a> ].</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petar Mitchev</title>
		<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/comment-page-1/#comment-562</link>
		<dc:creator>Petar Mitchev</dc:creator>
		<pubDate>Sat, 27 Mar 2010 00:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/?p=11#comment-562</guid>
		<description>@Stephen Neander you&#039;ve saved my live dude :))) thanks... and thanks to the author of this post.</description>
		<content:encoded><![CDATA[<p>@Stephen Neander you&#8217;ve saved my live dude <img src='http://stereointeractive.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )) thanks&#8230; and thanks to the author of this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Albert Hendriks</title>
		<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/comment-page-1/#comment-431</link>
		<dc:creator>Albert Hendriks</dc:creator>
		<pubDate>Mon, 29 Jun 2009 15:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/?p=11#comment-431</guid>
		<description>Thanks for this post!</description>
		<content:encoded><![CDATA[<p>Thanks for this post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Neander</title>
		<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/comment-page-1/#comment-391</link>
		<dc:creator>Stephen Neander</dc:creator>
		<pubDate>Mon, 23 Mar 2009 10:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/?p=11#comment-391</guid>
		<description>For Propel 1.3 try the following:
$c-&gt;addJoin(TABLE_B::VALUE.&#039; &gt; 0 AND &#039;. TABLE_A::ID, TABLE_B::ID, Criteria::LEFT_JOIN);
This worked for me.</description>
		<content:encoded><![CDATA[<p>For Propel 1.3 try the following:<br />
$c-&gt;addJoin(TABLE_B::VALUE.&#8217; &gt; 0 AND &#8216;. TABLE_A::ID, TABLE_B::ID, Criteria::LEFT_JOIN);<br />
This worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PaweÅ‚</title>
		<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/comment-page-1/#comment-305</link>
		<dc:creator>PaweÅ‚</dc:creator>
		<pubDate>Sat, 11 Oct 2008 09:01:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/?p=11#comment-305</guid>
		<description>Doesn&#039;t work with Propel 1.3 any more.</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t work with Propel 1.3 any more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Bartels</title>
		<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/comment-page-1/#comment-295</link>
		<dc:creator>Eric Bartels</dc:creator>
		<pubDate>Wed, 03 Sep 2008 19:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/?p=11#comment-295</guid>
		<description>Thanks for the post. Found it after &quot;reverse engineering&quot; the creole-api. So next time I will google first because it would have been a bit faster :-)

fyi: http://propel.phpdb.org/trac/ticket/167#comment:13</description>
		<content:encoded><![CDATA[<p>Thanks for the post. Found it after &#8220;reverse engineering&#8221; the creole-api. So next time I will google first because it would have been a bit faster <img src='http://stereointeractive.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>fyi: <a href="http://propel.phpdb.org/trac/ticket/167#comment:13" rel="nofollow">http://propel.phpdb.org/trac/ticket/167#comment:13</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ernie</title>
		<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/comment-page-1/#comment-234</link>
		<dc:creator>ernie</dc:creator>
		<pubDate>Mon, 12 May 2008 18:54:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/?p=11#comment-234</guid>
		<description>woops.. hehe.. in reference to previous comment, &quot;if you do this&quot; means if you do your trick to add multiple conditions.</description>
		<content:encoded><![CDATA[<p>woops.. hehe.. in reference to previous comment, &#8220;if you do this&#8221; means if you do your trick to add multiple conditions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ernie</title>
		<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/comment-page-1/#comment-233</link>
		<dc:creator>ernie</dc:creator>
		<pubDate>Mon, 12 May 2008 18:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/?p=11#comment-233</guid>
		<description>Love your site. I&#039;ve been using this particular method in several places. I actually check my request parameters to ensure they&#039;re exactly what i&#039;m looking for.
i.e. I may only pass integers so I make sure by putting something like:
$foo = (int)$this-&gt;getRequestParameter(&#039;foo&#039;);

Also, I have found that if you do this and use:
$c-&gt;setIgnoreCase(true);

A column map error occurs. Nothing major as long as you know to watch for it. Took me a while to track down what the issue was.</description>
		<content:encoded><![CDATA[<p>Love your site. I&#8217;ve been using this particular method in several places. I actually check my request parameters to ensure they&#8217;re exactly what i&#8217;m looking for.<br />
i.e. I may only pass integers so I make sure by putting something like:<br />
$foo = (int)$this-&gt;getRequestParameter(&#8216;foo&#8217;);</p>
<p>Also, I have found that if you do this and use:<br />
$c-&gt;setIgnoreCase(true);</p>
<p>A column map error occurs. Nothing major as long as you know to watch for it. Took me a while to track down what the issue was.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://stereointeractive.com/blog/2007/05/12/left-joins-with-multiple-conditions-using-propel-criteria/comment-page-1/#comment-110</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Wed, 08 Aug 2007 21:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stereodevelopment.com/?p=11#comment-110</guid>
		<description>Thank you, I was having the exact same problem. 

I get curious when I run into issues like this... it&#039;s not like we&#039;re the first two people to ever need to use this kind of join. Why didn&#039;t the Propel developers build this functionality in already? Are they planning to?</description>
		<content:encoded><![CDATA[<p>Thank you, I was having the exact same problem. </p>
<p>I get curious when I run into issues like this&#8230; it&#8217;s not like we&#8217;re the first two people to ever need to use this kind of join. Why didn&#8217;t the Propel developers build this functionality in already? Are they planning to?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

