rest-api icon indicating copy to clipboard operation
rest-api copied to clipboard

How to do pagination with this project?

Open xaero7 opened this issue 5 years ago • 1 comments

How to do pagination with this project? Could you please give an example?

xaero7 avatar Dec 11 '20 06:12 xaero7

  1. Add parameter page to the action, pass it via GET or POST
  2. Use https://docs.phalcon.io/4.0/en/pagination to pass that parameter and return only part of data, depending on specified limit

Jeckerson avatar Dec 11 '20 09:12 Jeckerson