On Saturday, June 16, 2012 9:55:36 AM UTC-7, saintthor wrote:
>
> for db.expando E:
>
> E( key_name = 'zzz' ).put()
>
> will create an entity with a key named 'zzz'. but when using ndb.expando, 
> it set an attribute named 'key_name ' with the value 'zzz'.
>
> how to make the ndb work as db?
>

Use E(id='zzz').put()

--Guido van Rossum 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/8alD7GxEKV4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to