ArrestDB icon indicating copy to clipboard operation
ArrestDB copied to clipboard

table browse (GET) should also return the total no of records in the table

Open ctzurcanu opened this issue 11 years ago • 2 comments

This is very useful for pagination and other REST-full interfaces implement it.

I have just created: https://github.com/ctzurcanu/ArrestGrid as a complement to ArrestDB. It needs total no of recs for pagination :) alpha demo: http://dataverse.ro/alpha3/

ctzurcanu avatar Feb 02 '14 16:02 ctzurcanu

That's a nice suggestion, I'll try to implement it in the next version.

alixaxel avatar Feb 02 '14 20:02 alixaxel

As previously mentionned in another issue, I made something along this approach in the emergency of a personnal need in a fork. See https://github.com/ogizanagi/ArrestDB#responses.

Beware, it is not a perfect implementation and might need some refactors.

BTW, I think paging will be a better option than relying on an offset.

ogizanagi avatar Jan 13 '15 18:01 ogizanagi