orm operator key fix

This commit is contained in:
Yuri Kuznetsov
2023-02-11 12:05:01 +02:00
parent fa06a437e5
commit 8666a3977a
@@ -2596,6 +2596,13 @@ abstract class BaseQueryComposer implements QueryComposer
$operatorModified = $operator;
if ($operatorOrm === '*') {
$operatorModified = 'LIKE';
}
else if ($operatorOrm === '!*') {
$operatorModified = 'NOT LIKE';
}
$attributeType = $entity->getAttributeType($field) ?? null;
if (