Java Google App Engine Datastore: 'IN' operator available on JDO query filters, as with Python?

Posted by Jim Blackler on Stack Overflow See other posts from Stack Overflow or by Jim Blackler
Published on 2009-09-19T14:41:15Z Indexed on 2010/04/24 16:53 UTC
Read the original article Hit count: 392

Filed under:
|
|

This page describes an 'IN' operator that can be used in GAE Datastore to compare a field against a list of possible matches, not just a single value:

However this is for Python. In Java (App Engine 1.2.5), trying

query.setFilter("someField IN param");

on my javax.jdo.query fires a JDOUserException 'Portion of expression could not be parsed: IN param'.

Is there a way this can be done?

© Stack Overflow or respective owner

Related posts about java

Related posts about google-app-engine