summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
AgeCommit message (Expand)Author
2021-09-01Fixed #33073 -- Fixed queryset crash with aggregation and empty/extra queryse...David Wobrock
2021-08-19Fixed #33025 -- Avoided accessing the database connections in Query.build_loo...Keryn Knight
2021-07-28Refs #32946 -- Changed Query.add_filter() to take two arguments.Keryn Knight
2021-07-22Fixed #32951 -- Removed Query.where_class & co.Nick Pope
2021-07-20Fixed #32704 -- Fixed list of deferred fields when chaining QuerySet.defer() ...David Wobrock
2021-07-20Fixed #32944 -- Avoided unnecessary WhereNode.add() calls.Keryn Knight
2021-07-15Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.db....Daniyal
2021-07-09Fixed #27021 -- Allowed lookup expressions in annotations, aggregations, and ...Ian Foote
2021-07-02Refs #26430 -- Re-introduced empty aggregation optimization.Simon Charette
2021-07-02Fixed #26430 -- Fixed coalesced aggregation of empty result sets.Simon Charette
2021-06-30Fixed #32786 -- Moved subquery ordering clearing optimization to the _in lookup.Hannes Ljungberg
2021-06-30Refs #32786 -- Made Query.clear_ordering() not to cause side effects by default.Hannes Ljungberg
2021-04-28Removed unnecessary reuse_with_filtered_relation argument from Query methods.Nick Pope
2021-04-28Removed unused with_filtered_relation argument from .equals()Nick Pope
2021-04-28Fixed #32632, Fixed #32657 -- Removed flawed support for Subquery deconstruct...Simon Charette
2021-04-21Fixed #32650 -- Fixed handling subquery aliasing on queryset combination.Simon Charette
2021-03-10Refs #32508 -- Raised TypeError instead of using "assert" on unsupported oper...Mariusz Felisiak
2021-02-24Fixed #32478 -- Included nested columns referenced by subqueries in GROUP BY ...Simon Charette
2021-01-14Refs #7098 -- Removed support for passing raw column aliases to order_by().Mariusz Felisiak
2021-01-14Refs #30158 -- Made alias argument required in signature of Expression.get_gr...Mariusz Felisiak
2021-01-05Fixed #32231 -- Allowed passing None params to QuerySet.raw().Alexander Lyabah
2020-11-27Fixed #25534, Fixed #31639 -- Added support for transform references in expre...Ian Foote
2020-11-16Fixed #31507 -- Added QuerySet.exists() optimizations to compound queries.David-Wobrock
2020-11-14Fixed #31496 -- Fixed QuerySet.values()/values_list() crash on combined query...David-Wobrock
2020-11-04Fixed #31910 -- Fixed crash of GIS aggregations over subqueries.Simon Charette
2020-10-29Fixed #32152 -- Fixed grouping by subquery aliases.Christian Klus
2020-10-28Fixed #32143 -- Used EXISTS to exclude multi-valued relationships.Simon Charette
2020-10-28Refs #27149 -- Fixed sql.Query identity.Simon Charette
2020-10-23Fixed #32134 -- Fixed crash of __range lookup with namedtuple.Adam Johnson
2020-08-13Fixed #31792 -- Made Exists() reuse QuerySet.exists() optimizations.Simon Charette
2020-07-31Fixed #27719 -- Added QuerySet.alias() to allow creating reusable aliases.Alexandr Tatarinov
2020-07-09Fixed #29789 -- Added support for nested relations to FilteredRelation.matt ferrante
2020-07-07Fixed #31767 -- Fixed QuerySet.none() on combined queryset.Mariusz Felisiak
2020-07-06Fixed #23797 -- Fixed QuerySet.exclude() when rhs is a nullable column.Jacob Walls
2020-06-08Fixed #31664 -- Reallowed using non-expressions having filterable attribute a...Nicolas Baccelli
2020-05-21Fixed #30375 -- Added FOR NO KEY UPDATE support to QuerySet.select_for_update...Manuel Weitzman
2020-05-14Fixed #31568 -- Fixed alias reference when aggregating over multiple subqueries.Simon Charette
2020-05-14Fixed #31566 -- Fixed aliases crash when chaining values()/values_list() afte...Simon Charette
2020-04-06Fixed #31426 -- Added proper field validation to QuerySet.order_by().Simon Charette
2020-04-06Refs #7098 -- Deprecated passing raw column aliases to order_by().Simon Charette
2020-04-06Fixed #31420 -- Fixed crash when filtering subquery annotation against a Simp...Hasan Ramezani
2020-03-25Fixed #31377 -- Disabled grouping by aliases on QuerySet.values()/values_list...Hasan Ramezani
2020-01-15Refs #31136 -- Made QuerySet.values()/values_list() group only by selected an...Mariusz Felisiak
2020-01-04Fixed #31136 -- Disabled grouping by aliases on QuerySet.values()/values_list().Mariusz Felisiak
2019-12-23Fixed #31109 -- Disabled grouping by aliases on QuerySet.exists().Simon Charette
2019-12-19Fixed #31094 -- Included columns referenced by subqueries in GROUP BY on aggr...Simon Charette
2019-12-10Used Signature API instead of deprecated inspect.getcallargs().Baptiste Mispelon
2019-12-06Made Query.check_filterable() use bool by default instead of str.Alex Aktsipetrov
2019-12-06Fixed #31060 -- Reallowed window expressions to be used in conditions outside...Alex Aktsipetrov
2019-11-21Refs #25367 -- Made Query.build_filter() raise TypeError on non-conditional e...Simon Charette