Right, you won't be able to do that.  The underlying datastore doesn't
support "OR" queries (and "IN" -> "OR").

If the # of elements in inputParam is small, you could run a query for
each one.  Otherwise, you might want to consider storing the
collection and reversing the query.

On Aug 25, 4:16 am, midomarocain <[email protected]> wrote:
> the input param is a collection
>
> i want the equivallent of this request
>
> select * from X where fieldOfX  in (inputParam)
>
> thanks in advance
>
> On 24 août, 14:28, datanucleus <[email protected]> wrote:
>
> > An IN clause ? you mean you pass in a parameter ("inputParam") that is
> > a Collection and then say something like this ?
> > inputParam.contains(someFieldOfMyClass)
>
> > That's Java, so is JDOQL.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to