Hi,

I am using the Java version of the GAE API, trying to make a query
such as:

SELECT FROM com.xxx.yyy.server.someclass WHERE (name == 'aaa' || name
== 'bbb') && accountId == 'test1'

I get UnsupportedDatastoreOperationException.

The problem seems to be in the || (logical OR) clause. Looking into
the documentation this should be supported (the OR operator is applied
to the same field, in this case 'name'):

http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Restrictions_on_Queries

Look at the "Query Filters" section.

Maybe I am missing something trivial.. the exception doesn't give any
additional information about what may be the problem, it is my guess
based on trial and error that the problem is in the OR operator.

Thank you.

--

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