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

Sebastian Fischer sf at marketing-factory.de
Tue Oct 12 11:55:40 CEST 2010


Hi everyone,

i red in the release note the following:

The count() method has been removed from the Query class and is now 
expected to be used on the query result, so that each $query->count() 
now should read $query->execute()->count().

Now my question is, does this mean, that the query instanciate the 
complete result object set and counts over the resultarray?

If yes, imho this is a very negative approache, because if i only need 
the amount of possible results, the complete object generation is done 
and is potentialy slow.

Please clearify this to me.

Greetings
Sebastian


More information about the FLOW3-general mailing list