Ok, that is what I suspected. Thanks again, =T=
On Nov 4, 2010, at 3:01 PM, Ikai Lan (Google) wrote: > Nope. The values in the list themselves are indexed, not the list. You may > want to create a new property for empty lists if you need to do this. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger: http://googleappengine.blogspot.com > Reddit: http://www.reddit.com/r/appengine > Twitter: http://twitter.com/app_engine > > > > On Thu, Nov 4, 2010 at 2:51 PM, Tim Jones <[email protected]> wrote: > Is there a way, using a single Query.filter() call or GQL operator, to search > for all entities for which a particular ListProperty is empty? > > So for instance, say I have a type called Book and a type called Genre. These > Books can have multiple genres, so my Book type has a ListProperty(db.key) > which contains a list of keys for Genres. Can I easily run a query which > returns a list of Books with no Genre? > > It seems likely to me that this is impossible, but I thought I'd ask. > > Thanks! > > =T= > > > -- > 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. -- 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.
