Re: [appengine-java] How to query user in the datastore

2009-12-13 Thread Rusty Wright
The USER('a...@gmail.com') part looks strange to me. That syntax says to me that there's a database function USER(), which I'm guessing there is not. I'm thinking you want to do something like select ... where user.email = 'aaa.gmail.com' Leon wrote: > Hi All, > > I stored an entity in

[appengine-java] How to query user in the datastore

2009-12-13 Thread Leon
Hi All, I stored an entity in the datastore and it has a property whose type is "User". I am trying to query all the records belongs to a specific user. However, I cannot get it done. In the data viewer, the User property seems have string content but it is not! In data viewer, I can use the follo