Paginate Response
Hi everyone,
Just wanted to know if there is a quick way to paginate a response.
As you can easily do when you query a record table →
https://docs.xano.com/working-with-data/functions/database-requests/query-all-records/external-query-manipulation/external-paging
I modify and sort my output quite heavily. So querying all records with the native paging function is not really an option.
Comments
-
Hi, not sure if I understand. What kind of filtering and sorting are you using? Are you sure that those cannot be done in query itself? Then you can easily go with built-in paging.
-
@Pawel Magdanski.
the data relevant for sorting comes from a nested list + it is related to a specific language code.The products are filtered (to keep the explanation relatively simple) primarily by a popularity score, which is nested deep within a product (and varies by country).
The customer plans to go into thousands of products, so I wonder if there is an easy way to paginate a response (in much the same way that table queries can be paginated) -
Have you considered using Join for related tables? Then you can still filter via custo query
-
great idea. I'll consider it
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback