Re: [google-appengine] Re: Count GQL

2013-10-17 Thread Vinny P
On Thu, Oct 17, 2013 at 7:10 PM, Rafael 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/dat

Re: [google-appengine] Re: Count GQL

2013-10-17 Thread Rafael
I always wondered if we have access to the "Datastore Statistics" from code. Maybe that's enough for him? thanks rafa On Wed, Oct 16, 2013 at 7:41 PM, Vinny P wrote: > On Wed, Oct 16, 2013 at 6:04 PM, timh wrote: > > You have stop thinking of appengine/gql in SQL terms. >> >> > +1 > > On Wed,

Re: [google-appengine] Re: Count GQL

2013-10-17 Thread Martin Descours
thx ! 2013/10/17 timh > You can't > > You have stop thinking of appengine/gql in SQL terms. > > Use the remote_api shell, then you can get the query object and then call > count() on it. > > > > On Wednesday, October 16, 2013 11:56:52 PM UTC+8, Martin Descours wrote: >> >> I am sure you had tha

Re: [google-appengine] Re: Count GQL

2013-10-16 Thread Vinny P
On Wed, Oct 16, 2013 at 6:04 PM, timh wrote: > You have stop thinking of appengine/gql in SQL terms. > > +1 On Wed, Oct 16, 2013 at 10:56 AM, Martin Descours wrote: > I am sure you had that a lot, but how can count results on a request via > GQL on AppEngine DataViewer ? > If you really want

[google-appengine] Re: Count GQL

2013-10-16 Thread timh
You can't You have stop thinking of appengine/gql in SQL terms. Use the remote_api shell, then you can get the query object and then call count() on it. On Wednesday, October 16, 2013 11:56:52 PM UTC+8, Martin Descours wrote: > > I am sure you had that a lot, but how can count results on a re