[appengine-java] Re: initialization of datastore

2010-03-14 Thread Robert Lancer
A query has to specify an entity kind as its minimum parameter, and then doing a count and seeing if its equal to zero for a known entity kind would be the best way. On Mar 13, 1:44 pm, vchalmel groupeprojeten...@gmail.com wrote: hi ! I want to set up an initialization script, and i must, in a

Re: [appengine-java] Re: initialization of datastore

2010-03-14 Thread John Patterson
Use the __Stat_total__ pseudo kind http://code.google.com/appengine/docs/java/datastore/stats.html On 15 Mar 2010, at 09:36, Robert Lancer wrote: A query has to specify an entity kind as its minimum parameter, and then doing a count and seeing if its equal to zero for a known entity kind