Thanks for the help. Looks like I had better do it inside my code for now. Steve
On Feb 26, 2:35 am, John Patterson <jdpatter...@gmail.com> wrote: > Be careful of the start-end date query trick - it does not work. > There was a bug in the SDK that made it appear to work. > > "an entity will only match the query if it has an individual value for > that property that matches all of the inequality filters" > > http://code.google.com/appengine/docs/python/datastore/queriesandinde... > > You can store any Collection (but not array) and it will become a > multi valued property. All collection types are returned as an > ArrayList - even sets etc. > > JD > > On 26 Feb 2010, at 13:38, Max wrote: > > > ListProperty is simply a collection. > > > You can simply persist a list of GAE primitive type into datastore > > > On Feb 25, 9:07 pm, Steve Pritchard <steve...@gmail.com> wrote: > >> This post is very helpful found > >> athttp://appengine-cookbook.appspot.com/recipe/how-to-query-by-date-range > > >> Often, you need to store, and retrieve, data that needs to match an > >> "effective date period", containing a "start date" and "end date". > > >> ... > > >> You can handle your query if you add another field in your Kind, a > >> ListProperty containing both the start date and end date. For > >> example, > >> add a ListProperty named "date_list", and populate it like this: > >> date_list = [start_date, end_date]. > > >> My Question. > > >> In Java, what constitutes a ListProperty. I assume ArrayList. I am > >> hoping that an int[] also counts because this has much less overhead > >> to store. > > >> Does anybody know or know where the rules for ListProperty might be > >> found. > > >> Thanks. > > > -- > > You received this message because you are subscribed to the Google > > Groups "Google App Engine for Java" group. > > To post to this group, send email to google-appengine-java@googlegroups.com > > . > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com > > . > > For more options, visit this group > > athttp://groups.google.com/group/google-appengine-java?hl=en > > . -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.