Jump to content

Getting results from a specific page number


Vineet Sawant
 Share

Recommended Posts

Hi,

So I've created a simple API which takes in following GET parameters

  • m = master/page parent
  • l = limit (no. of results)
  • p = page number

My simple questions is, what kind of selector I use so as to get results from a specific page number.

For example, if I've 10 records of Employees and "I" set limit as 5 and "p" as 2, I want to get employees with serial number 6-10.

 

Thanks for your help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...