Hi, Query.addFilter() help to add filter, but not with OR operation as your need (sorry for my bad reading).
http://gae-java-persistence.blogspot.com/2009/12/queries-with-and-in-filters.html This post explained that JPA/JDO (datanucleus-appengine) in fact break the query into multiple ones. If you go with low level API, then Tristan's suggestion should help in this case. (break the query and merge result instead let the library do it for you) Thanks. On Sat, May 1, 2010 at 3:11 AM, dominity <[email protected]> wrote: > Thanx for reply. > > But, how do you propose to implement OR operation with > Query#addFilter()? As I understand several filters are executed with > AND operation. > OR operation with JDO/JPA is trivial and I'm not interested in JDO/JPA > implementation, thanx. > > Best regards, Alexander. > > -- > 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. > > -- 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.
