Use one of the getObjectsById methods - just pass a collection of IDs as a parameter.
On Sep 7, 5:54 am, Zhi Le Zou <[email protected]> wrote: > Hi, > I have a class Foo defined as below: > > public class Foo{ > > @PrimaryKey > @Persistent(valueStrategy= > IdGeneratorStrategy.IDENTITY) > private String fooID; > > ............................... > > } > > Now, I have a list of IDs of the Foo entities, is it possible to retrieve > the corresponding collection of Foo entities in a single query? I found the > in the documentation, it says logic "or" and "IN" are not supported in the > java version app engine sdk, although it is supported in the python version. > > Thanks in advance :-) > > -- > Best Regards > Robin (邹志乐) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
