Commit 6f7be5ee by Carsten Brandt

filterWhere for postgres ILIKE

fixes #3252
parent 5c748ddb
...@@ -259,6 +259,10 @@ trait QueryTrait ...@@ -259,6 +259,10 @@ trait QueryTrait
case 'OR LIKE': case 'OR LIKE':
case 'NOT LIKE': case 'NOT LIKE':
case 'OR NOT LIKE': case 'OR NOT LIKE':
case 'ILIKE': // PostgreSQL operator for case insensitive LIKE
case 'OR ILIKE':
case 'NOT ILIKE':
case 'OR NOT ILIKE':
if (array_key_exists(1, $condition) && $this->isEmpty($condition[1])) { if (array_key_exists(1, $condition) && $this->isEmpty($condition[1])) {
return []; return [];
} }
......
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