summaryrefslogtreecommitdiff
path: root/django/db/backends/base
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/backends/base')
-rw-r--r--django/db/backends/base/operations.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/django/db/backends/base/operations.py b/django/db/backends/base/operations.py
index b1d818d90e..d5a40eb46e 100644
--- a/django/db/backends/base/operations.py
+++ b/django/db/backends/base/operations.py
@@ -231,6 +231,13 @@ class BaseDatabaseOperations:
)
return "%s"
+ def force_group_by(self):
+ """
+ Return a GROUP BY clause to use with a HAVING clause when no grouping
+ is specified.
+ """
+ return []
+
def force_no_ordering(self):
"""
Return a list used in the "ORDER BY" clause to force no ordering at