I have changed to
query.setFilter("tags.contains('" + aTagValue + "')");
and it still works!
It took me a while to get into this concept, that although it's a
filter clause it's written in java object style and not SQL style, I
mean:
NOT tags contains tagParam BUT tags.contains(tagParam) as yo
> I have tried the simplest approach and it works:
> query.setFilter("tags == '" + aTagValue + "' ");
It may work, but is actually invalid JDOQL and you should always use
valid JDOQL syntax like
tags.contains(tagParam)
and your current query would fail in future releases.
--
You received this me
I have tried the simplest approach and it works:
query.setFilter("tags == '" + aTagValue + "' ");
On Jan 3, 5:05 pm, Itzik Yatom wrote:
> I consider to use the built in Category class for implementing tags
> for one of my datastore classes. Something like:
> .
> import com.google.appengine.api.d