Hello,

I have an object with a startdate and a enddate.
Now I would like to select all objects where a parameter is between the 
start- and enddate.
But the datastore supports only one inequality filter per query (excepted 
on one field). So how i could implement a query to get the objects i want?
I use JDO.

*Example*:
*Datastore*:
Object 1: 20.01.2014 - 28.01.2014
Object 2: 17.01.2014 - 22.01.2014 

*Querys*:
Parameter: 21.01.2014
Result: Object 1, Object 2

Parameter: 27.01.2014
Result: Object 1

Parameter: 18.01.2014
Result: Object 2

Parameter: 02.03.2014
Result: Empty

Have a nice day
Benjamin

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to