On Thu, Oct 17, 2013 at 7:10 PM, Rafael <[email protected]> wrote:

> I always wondered if we have access to the "Datastore Statistics" from
> code. Maybe that's enough for him?
>
>

Yes it's possible, the datastore stats are collated from the metadata. See
here:

https://developers.google.com/appengine/docs/java/datastore/stats
https://developers.google.com/appengine/docs/java/datastore/metadataqueries

But there is no direct equivalent to count subsets of entities - for
example in SQL you can do *SELECT COUNT(*) FROM customers WHERE
name="bob" *(counting
the subset of records that contain the given name), while that's not
possible in GQL.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to