That's right. That is the only way... so you need to design the application with counters in mind.
If you need to add a counter that you have not planned, then you need to create a "cron like" task that counts those records and store the information in your new counters shards. On Sun, Feb 22, 2009 at 4:12 AM, John <[email protected]> wrote: > > I don't believe there is a way. I think you will need to create a > counter and store that information. > > This article might help: > http://code.google.com/appengine/articles/sharding_counters.html > > On Feb 21, 6:42 pm, ehmo <[email protected]> wrote: > > Hey guys, i want to know amout of data from specific query. there is > > more than 1000 rows and i can't figure out how to get it, because > > > > n = db.GqlQuery("SELECT * FROM db WHERE not_allowed = 0 LIMIT 1000, > > 2000") > > m = n.count() > > > > this returns m = 1000, but there is just 352 rows. any idea how to get > > whole amount of specific query? > > > > thnx > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en -~----------~----~----~----~------~----~------~--~---
