On 01/26/2016 03:16 PM, Pat Tryçias wrote: > Why Doctrine don't use thoses methode ? > ->setFirstResult($offset) > ->setMaxResults($itemCountPerPage); > > To me, pagination should not use a IN over an id list.
It is because you are using inner joins to fetch related entities. The counts are different if you are using inner joins so you cannot use a straight LIMIT query. If you are trying to export all data, why don't you just drop the paginator? No need to paginate if you need all data anyway. -- Sander Marechal -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
