mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-14 06:11:35 +08:00
@ -259,6 +259,10 @@ trait QueryTrait
|
||||
case 'OR LIKE':
|
||||
case '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])) {
|
||||
return [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user