You can use one inequality filter per query, so your only other choice is to filter in code somehow. Adding a new field to indicate that an entity is within some range lets you push some of that work to the datastore / indexes.
Robert On Fri, Mar 4, 2011 at 12:54, nacho <[email protected]> wrote: > I need to do queries with more than 1 inequality filter. > > "Adding new fields" to then make an equality filter, for example, quarters > or price ranges is the best approach? And after the query filter the results > by code? > > It doesn't looks very nice. It looks a little dirty to me. > > How do you handle situations like this? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
