Try this:
SELECT * FROM PreparedTransaction WHERE
__key__=KEY('agdwYXllbGV4cjkLEhNQcmVwYXJlZFRyYW5zYWN0aW9uIiAwMDAwMGNjMjMwYzg2MTFjZTFhOWZjZDJkZDEzMWMyNww')
This is documented here:
http://code.google.com/appengine/docs/python/datastore/gqlreference.html
On Mon, Jul 12, 2010 at 6:25 AM, [email protected] <[email protected]>wrote:
> Dear all,
> How Can I query a __key__ in Datastore Viewer?
>
> I tried the following method:
> SELECT * FROM PreparedTransaction WHERE
> name='00000cc230c8611ce1a9fcd2dd131c27'
>
> SELECT * FROM PreparedTransaction WHERE
>
> __key__='agdwYXllbGV4cjkLEhNQcmVwYXJlZFRyYW5zYWN0aW9uIiAwMDAwMGNjMjMwYzg2MTFjZTFhOWZjZDJkZDEzMWMyNww'
>
> All these failed.
>
> Is there any way to achieve this?
>
> I am looking this forum and google for hours, but can't find any clue.
>
> Best regards,
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" 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-java?hl=en.