Just use an equality filter - this should work just fine.
Select from Kind where propertyName contains 'propertyValue' is just:
Query q = new Query("Kind");
query.addFilter("propertyName", FilterOperator.EQUAL, "propertyValue");
--
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 Fri, Oct 1, 2010 at 7:54 AM, tleroy <[email protected]> wrote:
> Bonjour tout le monde,
>
> I have in my DataStore an entity 'Page' with fields :
> name : store in a String
> tags : store in a List<String>
>
> I would like to fetch pages with only some tags, something like that :
> Select * from Page where tags contains ['sport','video']
>
> Is it possible? I think it's possible with JDO but I don't know how to
> do that with the Low Level API
>
> Can you help me?
>
> Thank you.
>
> --
> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://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 [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-java?hl=en.