http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/PreparedQuery.html#countEntities%28%29
shows
int countEntities()
Retrieves the number of Entities that currently match this Query.
I have the following method:
protected int count(String kind) {
Query query = new Query(kind);
PreparedQuery preparedQuery = datastore.prepare(query);
return preparedQuery.countEntities();
}
On my Development Server, it returns the total number of the entities
which is over 40,000 entities.
But when deploying it on GAE, it always returns 1,000 entities. Is
this because of this limitation
http://code.google.com/appengine/docs/java/datastore/overview.html#Quotas_and_Limits?
If so, what is the best way to find total number of entities I have?
Please correct me if my assumption is incorrect.
Thanks in advance for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---