Hi Benjamin, Simply use an equality filter. Equality filters on list properties evaluate to true if the list contains an element that equals your filter value.
-Nick Johnson On Thu, Aug 12, 2010 at 6:19 PM, Benjamin <[email protected]> wrote: > If i have object persisted in the data store with this property: > > @Persistent > List<Long> Foo > > and each object has some Long values stored in their Foo list, I need > a query to get a collection of my objects out that have say, the > number 42 in their Foo List. > > I thought this'd be pretty simple but i can't find out how to do it or > if it's possible. Any thoughts? > > If it can't be done is there a recommendation for handling this > problem > > -- > 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]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: 368047 -- 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.
