Pagination support for Mongo DB

System Information
  • Strapi Version: v3.3.4
  • Operating System: windows 10
  • Database: Mongo DB
  • Node Version: 14.15.1
  • NPM Version: 6.14.18
  • Yarn Version:

Hello,

We are using strapi with mongo DB as per above provided system information. There is a requirement to implement pagination while fetching large set of records from Mongo DB.

Our UI application screens should display 1000s of records , from performance perspective we want to limit this to fetch ‘n’ number of records each time to lazy load these records. Since we are invoking the REST api n strapi to fetch records, are there any specific parameters that can be used to enforce this limit ?