Pagination Query for Optimizing 100K+ Rows #1119
-
Hi! Was wondering how I could paginate each query so I can optimize the table andd prevent loading all 100K data at once? Been looking everywhere for examples and I'm not sure how to move forward. Would it be possible to modify the query from pagination to cursor pagination? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
lrljoe
Mar 26, 2023
Replies: 1 comment 5 replies
-
The query is paginated by default. You can set simple pagination instead of you prefer that approach. public function configure(): void
{
$this->setPaginationMethod('simple');
} |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
dmsatparam
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The query is paginated by default.
You can set simple pagination instead of you prefer that approach.