Patrick Twohig
Sat, 13 Mar 2010 03:54:00 -0800
So, the business requirements of my application need a query which needs to search for a property (let's call it "foo") and a date property such that it will filter out all objects older than a certain date. I guess in GAE/J this would be something like....
Query q = new Query("MyKind")
.addFilter("foo", GREATER_THAN, 0)
.addFilter("bar", LESS_THAN, 42)
.addFilter("date", GREATER_THAN, someDate);
But, I'm guessing that wouldn't work because it's got inequality filters on
multiple properties. Would there be a way to get a similar result without
loading a huge amount of entities into memory and filtering them out
manually?
--
Patrick H. Twohig.
Namazu Studios
P.O. Box 34161
San Diego, CA 92163-4161
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.