[TYPO3-mvc] How to create join query with group by in extbase
Franz Koch
typo3.RemoveForMessage at elements-net.de
Wed Jun 23 18:33:31 CEST 2010
Hey,
>> So does any body know how to write the join query with group by in
>> extbase style .
>
> unfortunately there is no extbase style for that AFAIK. You could try to
> add a fake TCA entry for the imaginary "issuecount" column - maybe that
> helps. If not, you can tell the query object to return the raw result
> rows which you can map on objects by your own then. I don't know of any
> other solution.
Maybe I have one. Please try the attached patch. I applied it for a
special project once and I think it should also work for your needs. The
only important thing is that you have proper annotations on your property.
--
kind regards,
Franz Koch
More information about the TYPO3-project-typo3v4mvc
mailing list