replcae string operation with exact match of (not like)

parent 9d7d0c71
......@@ -980,7 +980,7 @@ class Builder extends BaseBuilder
// Replace like or not like with a Regex instance.
if (in_array($operator, ['like', 'not like'])) {
if (Str::startsWith($operator, 'not')) {
if ($operator === 'not like') {
$operator = 'not';
} else {
$operator = '=';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment