-
-
Notifications
You must be signed in to change notification settings - Fork 940
Labels
Description
Hi !
I'm using api-platform/core version 4.1.1 in a project with a large collection (over 100,000 documents). To address slow count queries, I want to enable partial pagination, as I do not need the total count or last page computation.
With Doctrine ORM, I can use partial pagination without any issues. However, I couldn't find any documentation or implementation about partial pagination support with MongoDB ODM. Despite the documentation page does not mention any compatibility issue regarding MongoDB.
Is partial pagination supported with MongoDB ODM in API Platform? If not, can I achieve a similar pagination with a custom Doctrine MongoDB ODM Extension. https://api-platform.com/docs/core/extensions/#custom-doctrine-mongodb-odm-extension