[appengine-java] A Contains Filter with DataStore Low Level API, is it possible?

2010-10-01 Thread tleroy
Bonjour tout le monde, I have in my DataStore an entity 'Page' with fields : name : store in a String tags : store in a List I would like to fetch pages with only some tags, something like that : Select * from Page where tags contains ['sport','video'] Is it poss

Re: [appengine-java] A Contains Filter with DataStore Low Level API, is it possible?

2010-10-01 Thread Ikai Lan (Google)
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: