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-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.