[TYPO3-50-general] Persistence: How to implement limit and offset?

Karsten Dambekalns karsten at typo3.org
Thu Jul 16 17:12:00 CEST 2009


Hi Jochen.

On 15.07.2009 23:08 Uhr, Jochen Rau wrote:
> One can specify $query->setLimit() and $query->setOffset(). But the
> JCR283 specs do not allow to "forward" these settings to the Query
> Object Model and thus to the Storage Backend.

 From what do you get that? The spec specifies an interface, what you do 
internally is up to you. I'd of course use that to limit right at the 
underlying (SQL) level.

And QueryObjectModel is a subclass of Query, so...

Regards,
Karsten


More information about the TYPO3-project-5_0-general mailing list