title: Using Raw SQL with Doctrine
body: <p>I have some extremely complex queries that I need to use to generate a report in my application. I'm using symfony as my framework and doctrine as my ORM. </p>
  
  <p>My question is this:</p>
  
  <p>What is the best way to pass in highly-complex sql queries directly to Doctrine without converting them to the Doctrine Query Language? I've been reading about the <code>Raw_SQL</code> extension but it appears that you still need to pass the query in sections (like <code>from()</code>). Is there anything for just dumping in a bunch of raw sql commands?</p>