mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-16 23:48:16 +08:00
@ -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 [];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user