<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://prendreuncafe.com/blog/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Prendre un Café - Tag - sql  - Commentaires</title>
  <link>http://prendreuncafe.com/blog/</link>
  <atom:link href="http://prendreuncafe.com/blog/feed/tag/sql/rss2/comments" rel="self" type="application/rss+xml"/>
  <description></description>
  <language>fr</language>
  <pubDate>Fri, 02 Mar 2012 11:41:49 +0100</pubDate>
  <copyright>Contenus sous licence Creative Commons BY-SA</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
    
    <item>
    <title>Optimize your Doctrine Workflow with Specialized Queries - NiKo</title>
    <link>http://prendreuncafe.com/blog/post/Optimize-your-Doctrine-Workflow-with-Specialized-Queries#c13924</link>
    <guid isPermaLink="false">urn:md5:5c7e8b8680a6a92e7b07b86c4feed164</guid>
    <pubDate>Thu, 01 Oct 2009 11:47:20 +0200</pubDate>
    <dc:creator>NiKo</dc:creator>
    
    <description>&lt;p&gt;maximus&amp;gt; check you're instantiating the query object using the &lt;code&gt;BlogPostQuery::create()&lt;/code&gt; method. Here, it works.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Optimize your Doctrine Workflow with Specialized Queries - maximus</title>
    <link>http://prendreuncafe.com/blog/post/Optimize-your-Doctrine-Workflow-with-Specialized-Queries#c13923</link>
    <guid isPermaLink="false">urn:md5:9a30cb205fe66c80a9c764a9240e5297</guid>
    <pubDate>Wed, 30 Sep 2009 09:56:18 +0200</pubDate>
    <dc:creator>maximus</dc:creator>
    
    <description>&lt;p&gt;i am getting the following error when trying to call addPosts, addComments, addAuthors etc..&lt;br /&gt;
&amp;quot;Call to undefined method Doctrine_Query::addPosts()&amp;quot;&lt;br /&gt;
What can cause that? any idea? thanks.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Optimize your Doctrine Workflow with Specialized Queries - NiKo</title>
    <link>http://prendreuncafe.com/blog/post/Optimize-your-Doctrine-Workflow-with-Specialized-Queries#c13922</link>
    <guid isPermaLink="false">urn:md5:8b4e55a3fe8f7ad9100056e7bee4a30e</guid>
    <pubDate>Fri, 18 Sep 2009 10:22:35 +0200</pubDate>
    <dc:creator>NiKo</dc:creator>
    
    <description>&lt;p&gt;Ashok&amp;gt; You spotted it, nice &lt;img src=&quot;/blog/themes/battlestar/smilies/wink.gif&quot; alt=&quot;;)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Optimize your Doctrine Workflow with Specialized Queries - Ashok Gelal</title>
    <link>http://prendreuncafe.com/blog/post/Optimize-your-Doctrine-Workflow-with-Specialized-Queries#c13921</link>
    <guid isPermaLink="false">urn:md5:20d3ddbab826c5e99835eaa8fc25bc57</guid>
    <pubDate>Thu, 17 Sep 2009 20:32:19 +0200</pubDate>
    <dc:creator>Ashok Gelal</dc:creator>
    
    <description>&lt;p&gt;In the method addPosts, '$fields' should be passed as parameter instead of p.*&lt;br /&gt;
i.e.&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
public function addPosts($fields = 'p.*')&lt;br /&gt;
{&lt;br /&gt;
return $this-&amp;gt;addSelect($fields);&lt;br /&gt;
}&lt;/p&gt;


&lt;p&gt;&amp;lt;/code&amp;gt;&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Optimize your Doctrine Workflow with Specialized Queries - Sid</title>
    <link>http://prendreuncafe.com/blog/post/Optimize-your-Doctrine-Workflow-with-Specialized-Queries#c13920</link>
    <guid isPermaLink="false">urn:md5:2860d9755aaa19a50497ac943f8469e4</guid>
    <pubDate>Thu, 17 Sep 2009 10:29:39 +0200</pubDate>
    <dc:creator>Sid</dc:creator>
    
    <description>&lt;p&gt;Congratulation on big Symfony project. This is a neat solution, better than cramming all the methods in one model class &lt;img src=&quot;/blog/themes/battlestar/smilies/smile.gif&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt; Thanks for sharing this.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Optimize your Doctrine Workflow with Specialized Queries - NiKo</title>
    <link>http://prendreuncafe.com/blog/post/Optimize-your-Doctrine-Workflow-with-Specialized-Queries#c13919</link>
    <guid isPermaLink="false">urn:md5:a54dd46d5449394d932aa50d4edd170c</guid>
    <pubDate>Thu, 17 Sep 2009 09:18:59 +0200</pubDate>
    <dc:creator>NiKo</dc:creator>
    
    <description>&lt;p&gt;François&amp;gt; &lt;img src=&quot;/blog/themes/battlestar/smilies/smile.gif&quot; alt=&quot;:-)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Optimize your Doctrine Workflow with Specialized Queries - Francois</title>
    <link>http://prendreuncafe.com/blog/post/Optimize-your-Doctrine-Workflow-with-Specialized-Queries#c13918</link>
    <guid isPermaLink="false">urn:md5:0ce8ff8e7576bcb7eb0ab4ed4cfcbe02</guid>
    <pubDate>Thu, 17 Sep 2009 09:13:35 +0200</pubDate>
    <dc:creator>Francois</dc:creator>
    
    <description>&lt;p&gt;Funny, I have seen something very similar some time ago. What was it ?&lt;/p&gt;


&lt;p&gt;Yes, I remember: &lt;a href=&quot;http://trac.symfony-project.org/browser/plugins/sfBlogsPlugin/trunk/lib/model/plugin/PluginsfBlogPostFinder.php&quot; title=&quot;http://trac.symfony-project.org/browser/plugins/sfBlogsPlugin/trunk/lib/model/plugin/PluginsfBlogPostFinder.php&quot;&gt;http://trac.symfony-project.org/bro...&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Named queries make your model classes a lot cleaner and much easier to deal with.&lt;/p&gt;</description>
  </item>
      
    
    <item>
    <title>Optimize your Doctrine Workflow with Specialized Queries - Evil_Wizard</title>
    <link>http://prendreuncafe.com/blog/post/Optimize-your-Doctrine-Workflow-with-Specialized-Queries#c13917</link>
    <guid isPermaLink="false">urn:md5:ac3f3cf9c6ea31b85dc9a6480b8d4d6b</guid>
    <pubDate>Wed, 16 Sep 2009 15:39:12 +0200</pubDate>
    <dc:creator>Evil_Wizard</dc:creator>
    
    <description>&lt;p&gt;Please forgive me, I'm English and the site seems to be in French.&lt;/p&gt;


&lt;p&gt;I think it's genius, if you want to really check if some other method included the alias as a join, then check the getParams and array_search the 'join' element sub array.&lt;/p&gt;


&lt;p&gt;I think NiKo intended this as an example of how you could extend your core to centralize the DQL, making it easier to maintain.&lt;/p&gt;</description>
  </item>
      
</channel>
</rss>
