summaryrefslogtreecommitdiff
path: root/django/db/models/sql
AgeCommit message (Expand)Author
2021-09-24Fixed #33124 -- Avoided accessing the database connections when not necessary.Keryn Knight
2021-09-20Refs #27624 -- Optimized Query.clone() for non-combined queries.Keryn Knight
2021-09-20Fixed #32970 -- Changed WhereNode.clone() to create a shallow copy of children.Keryn Knight
2021-09-17Refs #27624 -- Changed Query.explain_info to namedtuple.Adam Johnson
2021-09-17Optimized Query.clone() a bit.Adam Johnson
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-08-09Removed unnecessary WhereNode.is_summary.Mariusz Felisiak
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-16Prevented SQLCompiler.execute_sql() from closing cursor twice.Nick Pope
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-05Fixed #32226 -- Fixed JSON format of QuerySet.explain() on PostgreSQL.Wu Haotian
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-05-04Fixed #32693 -- Quoted and lowercased generated column aliases.Hasan Ramezani
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-27Refs #32682 -- Fixed QuerySet.delete() crash on querysets with self-referenti...Mariusz Felisiak
2021-04-21Fixed #32662 -- Refactored a generator out of SQLCompiler.get_order_by().Chris Jerdonek
2021-04-21Fixed #32650 -- Fixed handling subquery aliasing on queryset combination.Simon Charette
2021-04-12Fixed #32627 -- Fixed QuerySet.values()/values_list() crash on combined query...Iuri de Silvio
2021-04-07Fixed #32442 -- Used converters on returning fields from INSERT statements.Adam Johnson
2021-03-16Fixed #32546 -- Avoided Meta.ordering columns in GROUP BY clauses.Yuri Konotopov
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-10-02Fixed #32060 -- Added Random database function.Nick Pope
2020-09-17Fixed #31916 -- Fixed combined queryset crash when combining with ordered com...Hasan Ramezani
2020-09-15Fixed #32007 -- Fixed queryset crash with Q() annotation and aggregation.Mariusz Felisiak
2020-08-31Fixed #31965 -- Adjusted multi-table fast-deletion on MySQL/MariaDB.Simon Charette
2020-08-13Fixed #31792 -- Made Exists() reuse QuerySet.exists() optimizations.Simon Charette
2020-08-11Fixed #31866 -- Fixed locking proxy models in QuerySet.select_for_update(of=()).Daniel Hillier
2020-07-31Fixed #27719 -- Added QuerySet.alias() to allow creating reusable aliases.Alexandr Tatarinov