<?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: Symfony: How to query using Criteria OR</title> <atom:link href="http://www.techiecorner.com/146/symfony-how-to-query-using-criteria-or/feed/" rel="self" type="application/rss+xml" /><link>http://www.techiecorner.com/146/symfony-how-to-query-using-criteria-or/</link> <description>The place for computer tips and tricks! microsoft windows, open source, database, programming, freeware and etc</description> <lastBuildDate>Wed, 17 Mar 2010 21:18:27 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: rizwan</title><link>http://www.techiecorner.com/146/symfony-how-to-query-using-criteria-or/comment-page-1/#comment-117085</link> <dc:creator>rizwan</dc:creator> <pubDate>Wed, 17 Jun 2009 09:10:08 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/?p=146#comment-117085</guid> <description>straight from the propel guide, to perform simple or comperrison// Find all authors with last name of Tolstoy, Dostoevsky, or Bakhtin
$c2 = new Criteria();
$c2-&gt;add(AuthorPeer::LAST_NAME, array(&quot;Tolstoy&quot;, &quot;Dostoevsky&quot;, &quot;Bakhtin&quot;), Criteria::IN);</description> <content:encoded><![CDATA[<p>straight from the propel guide, to perform simple or comperrison</p><p>// Find all authors with last name of Tolstoy, Dostoevsky, or Bakhtin<br
/> $c2 = new Criteria();<br
/> $c2-&gt;add(AuthorPeer::LAST_NAME, array(&#8220;Tolstoy&#8221;, &#8220;Dostoevsky&#8221;, &#8220;Bakhtin&#8221;), Criteria::IN);</p> ]]></content:encoded> </item> <item><title>By: Ritesh M. Tamrakar</title><link>http://www.techiecorner.com/146/symfony-how-to-query-using-criteria-or/comment-page-1/#comment-101257</link> <dc:creator>Ritesh M. Tamrakar</dc:creator> <pubDate>Thu, 02 Apr 2009 11:10:44 +0000</pubDate> <guid
isPermaLink="false">http://www.techiecorner.com/?p=146#comment-101257</guid> <description>Thank you very much for giving clue for how to add more criteria with or and and. :)
It is very different than i thought. SQL people needs to bang owns head many time on wall to figure out how to use ORM based query.</description> <content:encoded><![CDATA[<p>Thank you very much for giving clue for how to add more criteria with or and and. <img
src='http://www.techiecorner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br
/> It is very different than i thought. SQL people needs to bang owns head many time on wall to figure out how to use ORM based query.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 2/14 queries in 0.010 seconds using disk

Served from: www.techiecorner.com @ 2010-03-18 19:19:24 -->