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

get totlat count when using limit and page #19

Open
ilmars opened this issue Jul 20, 2017 · 3 comments
Open

get totlat count when using limit and page #19

ilmars opened this issue Jul 20, 2017 · 3 comments

Comments

@ilmars
Copy link

ilmars commented Jul 20, 2017

Hi, is it posible to get totatal records count when aplied limit and page?

@brobyns
Copy link

brobyns commented Sep 28, 2017

I have the same question as above.

@pmccarren
Copy link
Contributor

Greetings! Unfortunately, the only way to accomplish retrieving the total records count is to run a second query that fetching all records and count the results. This is due to the underlying database layer not returning the total records in a table, but rather the number of records that matched your query.

@josevavia
Copy link

Maybe my answer to this similar issue (#37) helps someone

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

4 participants