Hi what is the best practise to limit the result of findAll in TYPO3?
I want to do it in controller.
Thanks in advance.
You can change the query in the controller as well:
$this->myRepository->findAll()->getQuery()->setLimit(4)->execute();