Using Raw SQL with Doctrine

Posted by Levi Hackwith on Stack Overflow See other posts from Stack Overflow or by Levi Hackwith
Published on 2010-05-05T16:13:57Z Indexed on 2010/05/05 16:18 UTC
Read the original article Hit count: 632

Filed under:
|
|

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.

My question is this:

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 Raw_SQL extension but it appears that you still need to pass the query in sections (like from()). Is there anything for just dumping in a bunch of raw sql commands?

© Stack Overflow or respective owner

Related posts about symfony

Related posts about doctrine