Re: [google-appengine] Datastore viewer query by key.

2010-09-02 Thread Ikai L (Google)
Try this: SELECT * FROM entity where __key__ = KEY('string-key') See the section about Keys here: http://code.google.com/appengine/docs/python/datastore/gqlreference.html On Thu, Sep 2, 2010 at 10:28 AM, John Gardner wrote: > This is probably obvious, but: > I cannot for the life of me figure

[google-appengine] Datastore viewer query by key.

2010-09-02 Thread John Gardner
This is probably obvious, but: I cannot for the life of me figure out how to fetch a known entity by key in the viewer. The GQL reference doesn't specify key syntax, since you can do a db.get(key) from code. I've tried: SELECT * FROM entity where __key__ = "string-key" SELECT * FROM entity where