2025 Apr 08 7:07 AM - edited 2025 Apr 08 7:10 AM
Hello CAPlers,
I have productive use case to implement pagination with $skip, $top, $count from query parameter.
I must use functions which returns array of array of entity. Any pagination examples would be great to refer how the slicing logic is handled.
What should I use to make it work?
When I use:
Request clarification before answering.
try the following:
const { rows:$top, offset:$skip } = req.query.SELECT.limit
* correction 22 April 2025
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
21 | |
8 | |
7 | |
6 | |
6 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.