bruno icon indicating copy to clipboard operation
bruno copied to clipboard

get totlat count when using limit and page

Open ilmars opened this issue 7 years ago • 3 comments

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

ilmars avatar Jul 20 '17 12:07 ilmars

I have the same question as above.

brobyns avatar Sep 28 '17 09:09 brobyns

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.

pmccarren avatar Sep 28 '17 15:09 pmccarren

Maybe my answer to this similar issue (https://github.com/esbenp/bruno/issues/37) helps someone

josevavia avatar Jul 19 '18 12:07 josevavia