Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to know if current page is the last one #76

Closed
rickywu opened this issue Apr 1, 2019 · 2 comments
Closed

How to know if current page is the last one #76

rickywu opened this issue Apr 1, 2019 · 2 comments

Comments

@rickywu
Copy link

rickywu commented Apr 1, 2019

I need data more than 100 records, so I have to use paging but how to know it's the last page
Should I compare the numbers?

@o1lab
Copy link
Member

o1lab commented Apr 1, 2019

Count api can be used to figure out the total records. Then number of pages can be figured based on page size.

@rickywu
Copy link
Author

rickywu commented Apr 1, 2019

OK, thanks

@rickywu rickywu closed this as completed Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants