summaryrefslogtreecommitdiff
path: root/django/db/backends/base/features.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/backends/base/features.py')
-rw-r--r--django/db/backends/base/features.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/db/backends/base/features.py b/django/db/backends/base/features.py
index c54d30cf73..4fd21beee3 100644
--- a/django/db/backends/base/features.py
+++ b/django/db/backends/base/features.py
@@ -302,6 +302,9 @@ class BaseDatabaseFeatures:
# Does the backend support boolean expressions in SELECT and GROUP BY
# clauses?
supports_boolean_expr_in_select_clause = True
+ # Does the backend support comparing boolean expressions in WHERE clauses?
+ # Eg: WHERE (price > 0) IS NOT NULL
+ supports_comparing_boolean_expr = True
# Does the backend support JSONField?
supports_json_field = True