Changes between Version 11 and Version 12 of NonSqlBackends


Ignore:
Timestamp:
Aug 13, 2009, 12:33:36 AM (15 years ago)
Author:
Waldemar Kornewald
Comment:

count() won't work

Legend:

Unmodified
Added
Removed
Modified
  • NonSqlBackends

    v11 v12  
    4747
    4848query.count() will be problematic since a scalable count() method doesn't exist in app engine (does it exist in SimpleDB?).  Perhaps this will be alleviated by cursors/bookmarks, but I suspect we'll have to address this some other way.  An automatic sharded counter in the manager would allow for an "almost accurate" count in most situations.  It would certainly be good enough for the most popular use case, "how many pages of results do I have?"
     49
     50The sharded counter can only be used for counting a very specific query, so you'd either have to specify all possible queries upfront or manage the counter manually. --wkornewald
Back to Top