diff --git a/src/Compat/FilterProcessor.php b/src/Compat/FilterProcessor.php index b6c9bdc..f704071 100644 --- a/src/Compat/FilterProcessor.php +++ b/src/Compat/FilterProcessor.php @@ -85,6 +85,10 @@ public static function assemblePredicate(Filter\Condition $filter) } } elseif ($filter instanceof Filter\Unequal) { return ["($column != ? OR $column IS NULL)" => $expression]; + } elseif ($filter instanceof Filter\HasNotValue) { + return ["$column IS NULL"]; + } elseif ($filter instanceof Filter\HasValue) { + return ["$column IS NOT NULL"]; } else { if ($filter instanceof Filter\Equal) { $operator = '=';