jahlborn/appengine-rest-server

Need to return a count of the results in total.

Closed this issue · 2 comments

The results should really return  a count of the total number of entities. This 
will allow for proper pagination on the the client side.

I have looked at the code for hours now and can't figure out how to do it 
myself so I was hoping someone could. I am still learning python so that script 
is still somewhat foreign to me :(

Original issue reported on code.google.com by msei...@gmail.com on 10 May 2013 at 10:25

Here is a picture of what I mean :-)

Original comment by msei...@gmail.com on 10 May 2013 at 10:27

Attachments:

In general, robust APIs don't return a total count because it is a. time 
consuming to compute and b. often inaccurate anyway.  likewise, the underlying 
app engine data store doesn't provide a total count of the results, so it's not 
possible.

Original comment by jahlborn@gmail.com on 11 May 2013 at 1:15

  • Changed state: WontFix