views:

37

answers:

1

I'm just wondering if it's possible for 'createCriteria' to specify the contains group similar to CharIndex('P', Channel) <> 0

I am using eq and get exact match but what should i use in i need to get all the records which contains channel similar to IN("channel",('a','b','c','d'))

def c = Load.createCriteria()

def results = c { if (channelType) { eq("channel",channelType) }

Any suggestion?

A: 

Can anyone help please!!!

pink