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 11:00 AM
   - Tuesday 4:30 PM to 5:00 PM

Now for a single equipment, I would want to retain this information. My use 
case is that I would be selecting a day and a start and end range (say 4:00 
PM to 9:00 PM) to check what equipment is available. But unfortunately, 
inequality operators on two different properties within single property 
aren't allowed so that's not possible:

SELECT * FROM Equipment WHERE from_time >= 1600 AND to_time <= 2100

How you would suggest to model such a thing on Google App Engine? 




-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to