I'm trying to figure out a way to count entities matching a certain criteria. I was thinking of doing a key-only query and using PreparedQuery.countEntities() (Java). However, when I do that, it always returns a value no higher than 1000. Is there a way to get an accurate count of all entities matching a query without having to do something like....
int count = datastore.prepare( query.setKeysOnly() ).asList(FetchOptions.Builder.limit(Integer.MAX_VALUE)).size() ? Thanks, Patrick. -- Patrick H. Twohig. Namazu Studios P.O. Box 34161 San Diego, CA 92163-4161 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.