orm: all/any operators

This commit is contained in:
Yuri Kuznetsov
2023-03-12 17:17:43 +02:00
parent 58ac0800f9
commit 8be1af0671
4 changed files with 226 additions and 5 deletions

View File

@@ -55,6 +55,18 @@ class PostgresqlQueryComposer extends BaseQueryComposer
'!=' => '<>',
'!*' => 'NOT ILIKE',
'*' => 'ILIKE',
'>=any' => '>= ANY',
'<=any' => '<= ANY',
'>any' => '> ANY',
'<any' => '< ANY',
'!=any' => '<> ANY',
'=any' => '= ANY',
'>=all' => '>= ALL',
'<=all' => '<= ALL',
'>all' => '> ALL',
'<all' => '< ALL',
'!=all' => '<> ALL',
'=all' => '= ALL',
];
/** @var array<string, string> */