1
0
mirror of synced 2025-02-21 22:53:15 +03:00

Fix enumeration

This commit is contained in:
Benjamin Eberlei 2012-02-05 22:51:42 +01:00
parent 6fa7580d10
commit 3def848422

View File

@ -13,9 +13,9 @@ vendors is not sufficient to get the correct results.
By default the pagination extension does the following steps to compute the By default the pagination extension does the following steps to compute the
correct result: correct result:
1. Perform a Count query using `DISTINCT` keyword. - Perform a Count query using `DISTINCT` keyword.
2. Perform a Limit Subquery with `DISTINCT` to find all ids of the entity in from on the current page. - Perform a Limit Subquery with `DISTINCT` to find all ids of the entity in from on the current page.
3. Perform a WHERE IN query to get all results for the current page. - Perform a WHERE IN query to get all results for the current page.
This behavior is only necessary if you actually fetch join a to-many This behavior is only necessary if you actually fetch join a to-many
collection. You can disable this behavior by setting the collection. You can disable this behavior by setting the