[TYPO3-mvc] extbase query
Stephen Bungert
stephenbungert at yahoo.de
Tue Feb 5 18:52:51 CET 2013
You can mark the properties as @lazy so that they only get collected when
you use them.
Stephen.
"Federico Bernardin" <typo3list at bernardin.it> schrieb im Newsbeitrag
news:mailman.2496.1360085105.609.typo3-project-typo3v4mvc at lists.typo3.org...
Hi list,
I've 3 object A,B,C
A contains reference 1:n to B and 1:n to C
I was debugging extbase when execute a findAll method and I have discovered
that it executes 1 query to table A, for each line of table A executes a
query on table B and on table C.
At the end of a single findAll I have A*B + A*C queries. Is it right? It is
a performance degradation. Is there a solution? Why doesn't it execute a
join?
Thanks.
Federico
More information about the TYPO3-project-typo3v4mvc
mailing list