Changes between Version 10 and Version 11 of NonSqlBackends


Ignore:
Timestamp:
Aug 12, 2009, 2:15:52 PM (15 years ago)
Author:
gumptionthomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NonSqlBackends

    v10 v11  
    3636= Queries =
    3737
    38 TODO: Let's wait for App Engine to support its new bookmarks mechanism before implementing this (key-based pagination doesn't work in all situations).
     38TODO: Let's wait for App Engine to support its new bookmarks mechanism before implementing this (key-based pagination doesn't work in all situations).  (Is there a link to info about app engine bookmarks?  I only found one sentence about cursors on the [http://code.google.com/appengine/docs/roadmap.html official roadmap].)
    3939
    4040On App Engine you can only retrieve the first 1000 query results. There needs to be support for "bookmarks" which mark the next starting point.
     
    4343
    4444TODO(mitch?): Find out if this is efficient (even for millions of items) or if it's better to provide bookmarks at a higher level.
     45
     46== count() ==
     47
     48query.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?"
Back to Top