[appengine-java] Re: complex query

2010-02-23 Thread Blake
Hah, that's good to know, and I appreciate you throwing the "it's in the docs" right back at me :) On Feb 22, 3:26 pm, Karel Alvarez wrote: > Actually you can have more than one inequality condition, but they > must all refer to the same field, it is in the docs... :-) that is not > the problem I

[appengine-java] Re: complex query

2010-02-23 Thread datanucleus
Obviously IN is not JDOQL syntax, and contains() is ... since it follows Java (the JDO spec defines this, as do the DataNucleus docs). You can (from a JDOQL perspective) have as many contains etc in a query as you wish. You provide the params just as you have done. Whether GAE/J supports all of tha

[appengine-java] Re: complex query

2010-02-22 Thread Karel Alvarez
Actually you can have more than one inequality condition, but they must all refer to the same field, it is in the docs... :-) that is not the problem I have, thanks for replying though... Karel On 2/22/10, Blake wrote: > You can only have one inequality filter per query. So you can say: > > wher

[appengine-java] Re: complex query

2010-02-22 Thread Blake
You can only have one inequality filter per query. So you can say: where A==b && B==c && D==e && e>0 that last "e>0" is your ownly allowed inequality filter. It's in the docs :) On Feb 22, 1:39 am, ka2 wrote: > Hi > I am trying to execute a query in the data store, the query would be > someth