Paginate arrays within variables?
Options
Josh Chambers
Member ✭
I can't use the "pagination" feature in the "output" tab because I'm pulling from multiple tables and then eventually merging. The resulting variable (object array) could have 0-n results, but I'd like to limit it to five or six.
Is there a filter I can use to limit the results? I was looking at "range" but that seems to require I know the id of the objects, which I won't. Suggestions?
EDIT: I think "slice" is what I was looking for, yeah? Seems to do the trick...
Is there a filter I can use to limit the results? I was looking at "range" but that seems to require I know the id of the objects, which I won't. Suggestions?
EDIT: I think "slice" is what I was looking for, yeah? Seems to do the trick...
Comments
-
Yes slice is it. Glad you found 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