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 entity.__key__ = "string-key"
SELECT * FROM entity where entity.key = "string-key"
SELECT * FROM entity where entity = "string-key"
and the same without quotes.

This really should be easier, I think.

-- 
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.

Reply via email to