Re: [google-appengine] Inequality operators on two properties at once

2013-04-24 Thread Google Tasks Backup Moderator
If TextSearch doesn't help, and since Datastore doesn't allow more than one property per query to have inequality filters, then I can see only two possibilities, depending on the amount of data that you expect to have. If the amount of data is small, you could filter on one property using GQL (e.g

Re: [google-appengine] Inequality operators on two properties at once

2013-04-24 Thread Mohsin Hijazee
So simply put, we cannot have a condition such as from_field > 5 and to_field < 10? How we would go about that then? -- 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

Re: [google-appengine] Inequality operators on two properties at once

2013-04-23 Thread Moises Belchin
You can create an index for your query or use TextSearch. Hope that helps. Regards. Saludos. Moisés Belchín. 2013/4/23 Mohsin Hijazee > I have a very simple problem to which I cannot find an appropriate > solution. I have a simple model that records multiple timespans for an > equipment wh

[google-appengine] Inequality operators on two properties at once

2013-04-23 Thread Mohsin Hijazee
I have a very simple problem to which I cannot find an appropriate solution. I have a simple model that records multiple timespans for an equipment which indicates what time ranges are in which that equipment can be used. For instance: - Monday 12:00 AM to 3:00 AM - Monday 7:00 AM to 1