views:

122

answers:

1

How to search in the GQL Viewer in appengine dashboard by key?

I use this and it gives an error:

SELECT * FROM Cache where __key__ = KEY('Cache', 'ag9wYWdhbGd1eS1zdGF0aWNyHAsSBUNhY2hlIhEvYnV0dG9ucy9lZGl0LmdpZgw ')
+1  A: 

You're passing in what looks like an encoded key as a key name. Try "KEY('ag9wYWdhbGd1eS1zdGF0aWNyHAsSBUNhY2hlIhEvYnV0dG9ucy9lZGl0LmdpZgw')" instead.

Nick Johnson
I tried this as well. It works fine in the code but doesn't work in the GQL Dashboard. Any suggestions?
GeekTantra
Again, what error do you get?
Nick Johnson
You are saying FROM and not FORM, right?
Adam Crossland