title: Doctrine Query Builder mysql Functions
body: <p>im atempting to create one of my old mysql queries in Doctrine Query Builder however im getting back an error <strong>Error: Expected known function, got 'SEC_TO_TIME'</strong></p>
  
  <p>So im guessing that doctrine doesnt like the mysql function <strong>SEC_TO_TIME</strong> however it does seem to like <strong>AVG</strong>, <strong>COUNT</strong> and such. Is there any way apart form using the Doctrine_RawSQL class of getting the query builder to run the query?</p>
  
  <p>Thanks</p>