summaryrefslogtreecommitdiff
path: root/django/db/models/aggregates.py
AgeCommit message (Expand)Author
2026-04-18Fixed #37028 -- Added BitAnd(), BitOr(), and BitXor() aggregates.Mariusz Felisiak
2026-02-10Fixed #36890 -- Supported StringAgg(distinct=True) on SQLite with the default...varunkasyap
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-05-23Fixed #36405 -- Fixed Aggregate.order_by using OuterRef.Adam Johnson
2025-05-23Fixed #36404 -- Fixed Aggregate.filter using OuterRef.Adam Johnson
2025-05-20Fixed #34262 -- Added support for AnyValue for SQLite, MySQL, Oracle, and Pos...ontowhee
2025-03-31Refs #28909 -- Simplified code using unpacking generalizations.Aarni Koskela
2025-03-03Fixed #35444 -- Added generic support for Aggregate.order_by.Chris Muthig
2025-01-14Fixed #36051 -- Declared arity on aggregate functions.Jacob Walls
2025-01-07Refs #36042 -- Raised ValueError when providing composite expressions to aggr...Jacob Walls
2025-01-06Fixed #36048 -- Preferred ValueError to NotSupportedError for composite pk sa...Jacob Walls
2024-12-16Imported Coalesce from django.db.models.functions.Jacob Walls
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-04-25Refs #35339 -- Updated Aggregate class to return consistent source expressions.Chris Muthig
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-05-23Refs #34551 -- Fixed QuerySet.aggregate() crash on precending aggregation ref...Simon Charette
2022-12-01Refs #33308 -- Deprecated support for passing encoded JSON string literals to...Simon Charette
2022-11-29Refs #10929 -- Fixed aggregates crash when passing strings as defaults.Simon Charette
2022-11-07Refs #33374 -- Adjusted full match condition handling.Simon Charette
2022-11-07Refs #27849 -- Fixed filtered aggregates crash on filters that match everything.Simon Charette
2022-10-06Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().Simon Charette
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-31Fixed #33468 -- Fixed QuerySet.aggregate() after annotate() crash on aggregat...Mariusz Felisiak
2021-11-04Fixed #33262 -- Fixed crash of conditional aggregation on Exists().Hannes Ljungberg
2021-09-29Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_...David Wobrock
2021-07-19Fixed #10929 -- Added default argument to aggregates.Nick Pope
2021-07-02Refs #26430 -- Re-introduced empty aggregation optimization.Simon Charette
2019-07-31Fixed #30665 -- Added support for distinct argument to Avg() and Sum().Étienne Beaulé
2019-03-21Refs #30158 -- Added alias argument to Expression.get_group_by_cols().Simon Charette
2019-01-21Fixed #30120 -- Fixed invalid SQL in distinct aggregate.Simon Charette
2019-01-14Refs #28643 -- Extracted DurationField logic for Avg() and Sum() into mixin.Nick Pope
2019-01-14Refs #28643 -- Changed Variance() to use NumericOutputFieldMixin.Nick Pope
2019-01-14Refs #28643 -- Changed StdDev() to use NumericOutputFieldMixin.Nick Pope
2019-01-14Refs #28643 -- Changed Avg() to use NumericOutputFieldMixin.Nick Pope
2019-01-09Fixed #28658 -- Added DISTINCT handling to the Aggregate class.Simon Charette
2018-12-06Fixed #30011 -- Fixed queries that reuse filtered aggregates.Simon Charette
2018-08-23Fixed #29048 -- Added **extra_context to database function as_vendor() methods.priyanshsaxena
2018-01-03Fixed #28982 -- Simplified code with and/or.Дилян Палаузов
2017-12-27Refs #28459 -- Improved performance of loading DurationField on SQLite and My...Sergey Fedoseev
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-12-08Refs #27849 -- Removed empty Q() hack in filtered Aggregate.as_sql().Simon Charette
2017-09-29Refs #28492 -- Defined aggregates' output_field at the class level.Simon Charette
2017-09-18Fixed #26608 -- Added support for window expressions (OVER clause).Mads Jensen
2017-09-16Removed unneeded StdDev.convert_value() and Variance.convert_value().Sergey Fedoseev
2017-09-16Simplified Count.convert_value() and RegrCount.convert_value().Sergey Fedoseev
2017-08-12Fixed #27849 -- Added filtering support to aggregates.Tom
2017-07-20Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expre...Tim Graham
2017-07-17Allowed Func subclasses to add kwargs to __repr__().Mariusz Felisiak
2017-07-11Fixed #28382 -- Prevented BaseExpression._output_field from being set if _res...Sergey Fedoseev
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand