I'm guessing this is a custom rolled User object. Here's how you'd likely do
it:

SELECT * FROM User where __key__=KEY('User', 100100)

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Wed, Oct 27, 2010 at 6:58 PM, pman <pollk...@gmail.com> wrote:

> i have following record in the datastore.
>
> datastore ABC
> ===================================
> ID/Name         title   message         user
> ===================================
>
> and the user is the object.
>
>
> how to run GQL to filter a particular user's record - user
> (ag1udW1iZXJzaaD9wejAxcgsLEgRVc2VyGOkHKK
> User: id=100100)
>
> ??
>
> select * from ABC where user = User(100100) (not working).
>
>
> any help?
>
> --
> 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
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to