I'm sorry, I don't understand. What function do you believe is missing in NDB?
On Monday, July 2, 2012 11:51:37 AM UTC+2, saintthor wrote: > > thank you. > > and, don't you think ndb need this function too? > > 在 2012年7月2日星期一UTC+8上午3时14分36秒,Guido van Rossum写道: >> >> That has nothing to do with ndb; none of those would work with db either. >> The correct query has "WHERE __key__ = KEY(........)". >> >> On Sunday, July 1, 2012 5:38:00 PM UTC+2, saintthor wrote: >>> >>> ndbModel( id = 'KeyName' ).put() >>> >>> SELECT * FROM ndbModel where key_name=KEY( 'dbModel', 'KeyName' ) >>> SELECT * FROM ndbModel where name=KEY( 'dbModel', 'KeyName' ) >>> SELECT * FROM ndbModel where key=KEY( 'dbModel', 'KeyName' ) >>> SELECT * FROM ndbModel where id=KEY( 'dbModel', 'KeyName' ) >>> >>> none of the above can get the entity. >>> >> -- 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/-/jbx-7LbrVP8J. 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.
