Hi guys!
Since few last days I'm wondering if there is a possibility to check by executing sql query whether string expression does not contain only a part of the another string instead of giving the full string value. I'm trying to exclude those elements from the collection.
For example I have:
String title = "abcdefg";
1) Select * from collection where (title not in ('cde') - I would like to filter out this element
2) Select * from collection where (title not in ('
abcdefg') - It works but in my case user can fill in only a part of the string.
By using CQNParser query like: not(contains(element,value)) it works perfectly but in my case it would be much easier to use sql.
Cheers!
Kasia