Guido released a new DataStore API for GAE

I read the docs and I think this syntax looks like DAL syntax

*Look the NewDataStoreAPI syntax:*
msg = yield Greeting.get_or_insert_async('hello', message='Hello world')

Let's break this up further into its constituents:

f = Greeting.get_or_insert_async('hello', message='Hello world')

msg = yield f

---

BTW, The old API will remain intact and working.

Announcement
http://neopythonic.blogspot.com/2011/01/new-app-engine-datastore-api.html

Docs
https://docs.google.com/document/d/1hJI0Jk4vQMIoyrfqFpWhYODHXBtxpMHHeR2hjQ9NyXY/edit?ndplr=1&pli=1#

<https://docs.google.com/document/d/1hJI0Jk4vQMIoyrfqFpWhYODHXBtxpMHHeR2hjQ9NyXY/edit?ndplr=1&pli=1#>

-- 

Bruno Rocha
http://about.me/rochacbruno/bio

Reply via email to