[web2py] GAE query cursors

2012-06-16 Thread howesc
Hello again, I wanna use cursors on my GAE queries: https://developers.google.com/appengine/docs/python/datastore/queries#Query_Cursors i have attached a patch that adds an optional parameter reusecursor to select on GAE. If True, and the query has a limitby, it indicates that

[web2py] GAE and cursors

2011-02-18 Thread kkirsanov
Hi. I need to send a lot of messages. On GAE default framework it could be done by using cursosrs and taskqueue(to overcome 15s limit): if cursor != '': Q = db.Query(models.Partner).with_cursor(cursor) else: Q = db.Query(models.Partner) for partner in Q.fetch(10):