On Sep 20, 4:22 am, adams <ad...@contentedweb.com> wrote: > I believe you can do this in two ways: > > Either using GQL > (see:http://code.google.com/appengine/docs/python/datastore/gqlreference.html) > > eg: SELECT * FROM House WHERE cost > 5000 AND cost < 150000 AND rooms > > >= 3... etc > > Or by chaining your filters on your Model class (http:// > code.google.com/appengine/docs/python/datastore/ > queryclass.html#Query_filter): > > eg: House.filter('cost >', 5000).filter('cost <', > 150000).filter('rooms >= ', 3)... etc
Neither of these will work; you can't use inequality filters on more than one property. -- 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.