How do I query in GQL using the entity key
How do I write a query against the entity key using GQL in the Google App Engine Data Viewer ? In the viewer, the first column (Id/Name) displays as name=_1 , in the detail view it shows the key as Decoded entity key: Programme: name=_1 Entity key: agtzcG9................... This query does not work: SELECT * FROM Programme where name = '_1' Adam Crossland You can use the entity's key to retrieve it: SELECT * FROM Programme where __key__ = KEY('agtzcG9...................') And, you should be able to query using the name similarly: SELECT * FROM Programme where __key__ = KEY(Programme, '_1')