How to fetch more than 1000?

后端 未结 16 1973
囚心锁ツ
囚心锁ツ 2020-11-28 04:13

How can I fetch more than 1000 record from data store and put all in one single list to pass to django?

16条回答
  •  执笔经年
    2020-11-28 04:29

    Just for the record - fetch limit of 1000 entries is now gone:

    http://googleappengine.blogspot.com/2010/02/app-engine-sdk-131-including-major.html

    Quotation:

    No more 1000 result limit - That's right: with addition of Cursors and the culmination of many smaller Datastore stability and performance improvements over the last few months, we're now confident enough to remove the maximum result limit altogether. Whether you're doing a fetch, iterating, or using a Cursor, there's no limits on the number of results.

提交回复
热议问题