Re:Ask HN: Best Python Framework for Google App Engine?
by mdipierro1 on Friday July 01, 2011 @02:18PM
(#2719502)
You can use the GAE datastore transaction with the web2py DAL but it does not provide an API with it, you have to use the GAE function for the transaction and than inside you can use DAL syntax. DAL automatically creates one cursor for you per http request. Each request has its own. It does not provide APIs to make your own cursors.
[ Parent
| on HN ]
Re:Ask HN: Best Python Framework for Google App Engine?
by moreyes on Friday July 01, 2011 @03:17PM
(#2719766)
I think you're confusing the general idea of cursors with datastore cursors, which require a query and can't be created "per request", but "per query". See:
http://code.google.com/appengine/docs/java/datastore/queries...
Re:Ask HN: Best Python Framework for Google App Engine?
by mdipierro1 on Friday July 01, 2011 @04:42PM
(#2720079)
Sorry I misunderstood. Web2py has not API for it but it should be easy to add. If you open a ticket on google code, it will done sooner than later. ;-)