I need to make a “not like” operation in a where. I know that i can do this:
$predicate->like($a,$b);
But i can’t find a way to perform a “not like” and other negated like “not in”. Is there any way or i will have to make string where?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As you mention there is no
notLikemethod on where object. But there isliteralmethod where you can pass anything you want:The output wille be: