Maybe Query.addFilter() can help you? http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Query.html#addFilter%28java.lang.String,%20com.google.appengine.api.datastore.Query.FilterOperator,%20java.lang.Object%29
Just wonder if JPA/JDO can fit into your case: http://gae-java-persistence.blogspot.com/2009/10/executing-batch-gets.html The example use keys for batch get, but I think you can apply the same concept. On Fri, Apr 30, 2010 at 2:23 PM, dominity <[email protected]> wrote: > Hi, guys. > > Can you tell me how could I add filter to query with OR operation? > I.e., if I want to fetch all entities that have a field with certain > value or with another one. > > 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.
