From 3f99bed6714f087a21da92a04cc43b5cb92edc2f Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Mon, 25 Apr 2022 12:19:15 +0200 Subject: [PATCH] Support 'IS' and 'IS NOT' PostgreSQL operators --- src/Illuminate/Database/Query/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Database/Query/Builder.php b/src/Illuminate/Database/Query/Builder.php index 91d82cd7c923..17b09001264d 100755 --- a/src/Illuminate/Database/Query/Builder.php +++ b/src/Illuminate/Database/Query/Builder.php @@ -199,7 +199,7 @@ class Builder implements BuilderContract public $operators = [ '=', '<', '>', '<=', '>=', '<>', '!=', '<=>', 'like', 'like binary', 'not like', 'ilike', - '&', '|', '^', '<<', '>>', '&~', + '&', '|', '^', '<<', '>>', '&~', 'is', 'is not', 'rlike', 'not rlike', 'regexp', 'not regexp', '~', '~*', '!~', '!~*', 'similar to', 'not similar to', 'not ilike', '~~*', '!~~*',