Skip to Main Content
Builder.io Ideas
Created by Guest
Created on Sep 18, 2023

Return the total amount of items in a model for pagination purposes

It would be great in the Content API, to be able to get the total amount of items in the return of the getAll method.

That would allow us to be able to display a very common pagination pattern with numbered pages.

At the moment, we do not know if there is more content to query when limiting a query to X number of items.

  • Attach files
  • Mauricio
    Reply
    |
    Oct 4, 2023

    Really important feature to be able to build full pagination components when having lot of content on a data model.