i am sorry. it seems i misunderstanded the word "That has nothing to do 
with ndb;".

在 2012年7月5日星期四UTC+8上午1时46分20秒,Stephen Lewis写道:
>
> The datastore itself draws no distinction between 'ndb entities' and 'db 
> entities' - the syntax Guido suggested will should work for entities 
> created via either the ndb or the db API.
>
> Are you unable to query your entities created using the ndb API in the 
> admin console? It works for me...
>
> Stephen
>
> On Wednesday, 4 July 2012 15:58:59 UTC+1, saintthor wrote:
>>
>> i mean, how to select a ndb entity with id in admin console. maybe i 
>> shouldn't use the word 'function'.
>>
>> since we can select a db entity with "WHERE __key__ = KEY(........)", i 
>> think there should be a way for ndb too.
>>
>> 在 2012年7月3日星期二UTC+8上午3时55分37秒,Guido van Rossum写道:
>>>
>>> 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/-/1-X5LaLouV8J.
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