1
0
mirror of https://github.com/django/django.git synced 2025-01-09 18:06:34 +00:00
django/tests/aggregation
Simon Charette 10037130c1
Refs #28477 -- Fixed handling aliased annotations on aggregation.
Just like when using .annotate(), the .alias() method will generate the
necessary JOINs to resolve the alias even if not selected.

Since these JOINs could be multi-valued non-selected aggregates must be
considered to require subquery wrapping as a GROUP BY is required to
combine duplicated tuples from the base table.

Regression in 59bea9efd2.
2022-11-14 05:45:33 +01:00
..
__init__.py
models.py
test_filter_argument.py Refs #27849 -- Fixed filtered aggregates crash on filters that match everything. 2022-11-07 09:05:24 +01:00
tests.py Refs #28477 -- Fixed handling aliased annotations on aggregation. 2022-11-14 05:45:33 +01:00