I am using Google App Engine for the backend to my elearning app. I am 
trying to to a GQL query in the admin dashboard, in order to find 
ActivityCompletion records for a certain user. The user field (or whatever 
the non relational equivalent to 'field' is!) is called user, and uses a KEY 
for the value. 

>From my research this seems like it should work, but it does not: 

select __key__ from ActivityCompletion where __key__ = Key('User', '9122') 

I also tried: select __key__ from ActivityCompletion where __key__ = 
Key('User', 9122) 

This does not work to pull up the user whose Entity key (after decoding) is 
9122. Any GAE experts out there with any idea how to do this query 
successfully? Thanks!

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