[FLOW3-general] Question about change in Query object since Alpha12

Sebastian Kurfürst sebastian at typo3.org
Tue Oct 12 12:21:46 CEST 2010


Hi Sebastian,

> Now my question is, does this mean, that the query instanciate the
> complete result object set and counts over the resultarray?
Nope, it does it lazily by calling a count() query on the database.

See
http://git.typo3.org/FLOW3/Packages/FLOW3.git?a=blob;f=Classes/Persistence/QueryResult.php;h=25774d1c29e750aa8c050f1a1bc096f1c89acf21;hb=HEAD
for the QueryResult object.

The change is a prerequisite for widgets to work efficently, so that's
why this will also be backported to Extbase.

Greets,
Sebastian


More information about the FLOW3-general mailing list