Get rows from collection with pagination.
with millions of records pagination took very long time ......
Yes, this is issue, with millions of records total aggregation is slow.
@jenssegers is there any plans to count totals with count instead of aggregation?
Ofcourse, it is possible to write custom paginator, but still I'm wondering do you have this issue in to-do list.
Had this issue as well, had to leave pagination to left/right only otherwise it would time out on collection with lots of documents..
+1, this issue still accouring till now
mongodb is used for performance mainly, but using aggregate instead of find is killing the purpose.
+1
@limen , @srabouin , @jenssegers
Most helpful comment
mongodb is used for performance mainly, but using aggregate instead of find is killing the purpose.
+1