[TYPO3-mvc] extbase queries, add count() and left join

Muriel le Pair typo3 at strangefruit.nl
Wed Jun 25 11:25:30 CEST 2014


Hi,

I have a question about extbase queries.

How to you add count(*) to the select part?
The only thing I could come up with is:

$query = $this->createQuery();
$query->statement('select ...');

But I wonder if this is the correct way.

And how do you add a left join? other than using $query->statement() again?

--
kind regards,

Muriel le Pair


More information about the TYPO3-project-typo3v4mvc mailing list