This commit is contained in:
Yuri Kuznetsov
2023-03-12 16:38:22 +02:00
parent 2acac3d0b0
commit 58ac0800f9
3 changed files with 45 additions and 39 deletions

View File

@@ -49,17 +49,12 @@ class PostgresqlQueryComposer extends BaseQueryComposer
protected int $aliasMaxLength = 128;
/** @var array<string, string> */
protected array $comparisonOperators = [
protected array $comparisonOperatorMap = [
'!=s' => 'NOT IN',
'=s' => 'IN',
'!=' => '<>',
'!*' => 'NOT ILIKE',
'*' => 'ILIKE',
'>=' => '>=',
'<=' => '<=',
'>' => '>',
'<' => '<',
'=' => '=',
];
/** @var array<string, string> */