You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a collection with +5000 documents and i´m wondering how pagination works in your API generator. I read the documentation but I´m still wondering if your API calculates automatically the number of pages depending on the count or if it has to be calculated by playing with limit and page parameters. I´m getting the "cursor timeout or killed" error in MongoDB when querying big amounts of documents. I will appreciate your comments and recommendations to handle this type of issues.
Best regards.
The text was updated successfully, but these errors were encountered:
i was also just trying to figure this out. Diego, sorry for so many questions back to back. I am just moving into this arena and loving it.
Is there a way to add the page number and total pages to the body of the response or is the assumption that the app consuming the material will take the total responses and divide this by the number of responses per page and take care of pages from there?
I would be more than happy to be directed to reading material if that is more appropriate than answering the question here. even a "google this instead" would be great
Hi Diego
I have a collection with +5000 documents and i´m wondering how pagination works in your API generator. I read the documentation but I´m still wondering if your API calculates automatically the number of pages depending on the count or if it has to be calculated by playing with limit and page parameters. I´m getting the "cursor timeout or killed" error in MongoDB when querying big amounts of documents. I will appreciate your comments and recommendations to handle this type of issues.
Best regards.
The text was updated successfully, but these errors were encountered: