Skip to content

Commit c160153

Browse files
committed
fix: add missing NOT IN
1 parent bc2d692 commit c160153

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

system/Database/BaseBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3382,7 +3382,7 @@ protected function getOperator(string $str, bool $list = false)
33823382
$this->pregOperators = [
33833383
'\s*(?:<|>|!)?=\s*', // =, <=, >=, !=
33843384
'\s*<>?\s*', // <, <>
3385-
'\s*>\s*', // >å
3385+
'\s*>\s*', // >
33863386
'\s+IS NULL', // IS NULL
33873387
'\s+IS NOT NULL', // IS NOT NULL
33883388
'\s+EXISTS\s*\(.*\)', // EXISTS (sql)
@@ -3422,6 +3422,7 @@ private function getOperatorFromWhereKey(string $whereKey)
34223422
'\s+NOT EXISTS\s*\(.*\)', // NOT EXISTS (sql)
34233423
'\s+BETWEEN\s+', // BETWEEN value AND value
34243424
'\s+IN\s*\(.*\)', // IN (list)
3425+
'\s+NOT IN\s*\(.*\)', // NOT IN (list)
34253426
'\s+LIKE', // LIKE
34263427
'\s+NOT LIKE', // NOT LIKE
34273428
];

0 commit comments

Comments
 (0)