If you know the key, there's no need to do a query: Just use getObjectById: http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Getting_an_Object_By_Key
-Nick Johnson On Sun, Jun 13, 2010 at 7:37 PM, Philip Tucker <[email protected]> wrote: > What's the format of selecting by key with kind and ID? Docs say this: > > KEY('kind', 'name'/ID [, 'kind', 'name'/ID...]) > > But I've tried about every combo I can think of and it doesn't work, > at least not from the console. It works if I put in the full result of > KeyFactory.keyToString. Is kind just the entity name in quotes? Should > name/ID be in quotes? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. 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.
