Forums

How to use IN clause in CCv5

homeopat 03 Jan, 2019
Hello to everyone
I cant find how to use IN clause in conditions of model setting in CCv5?
WHERE  (expr|column_1) IN ('value1','value2',...);
Thank you
homeopat 04 Jan, 2019
of cours .. its simply OR ... sorry Bob
GreyHead 05 Jan, 2019
Hi homeopat,

Yes, and you can also use IN if you prefer using the custom query code starting with :

Bob
homeopat 07 Jan, 2019
Hi Bob,
how can I set a condition when I need to combine 2 conditions to one return?
model1.column1=11 && model2.column2 IN (501,502,803,....)?
in column1 is concrete value and in column2 is array of values.
thank you
homeopat 30 Jan, 2019
Hi Bob
Can you ansewer me?
thank you.
This topic is locked and no more replies can be posted.