summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
AgeCommit message (Expand)Author
2023-06-01Fixed #34612 -- Fixed QuerySet.only() crash on reverse relationships.Simon Charette
2023-05-23Fixed #34551 -- Fixed QuerySet.aggregate() crash when referencing subqueries.Simon Charette
2023-05-23Refs #34551 -- Fixed QuerySet.aggregate() crash on precending aggregation ref...Simon Charette
2023-05-17Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.Simon Charette
2023-04-24Refs #33766 -- Removed sql.Query.build_filtered_relation_q().Simon Charette
2023-04-24Fixed #33766 -- Resolved FilteredRelation.condition at referencing time.Simon Charette
2023-04-07Fixed #34464 -- Fixed queryset aggregation over group by reference.Simon Charette
2023-04-05Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.Simon Charette
2023-04-04Fixed #34450 -- Fixed multi-valued JOIN reuse when filtering by expressions.Simon Charette
2023-03-28Refs #29799 -- Added field instance lookups to suggestions in FieldErrors.Mariusz Felisiak
2023-03-25Fixed #34437 -- Made values() resolving error mention selected annotations.Simon Charette
2023-03-24Fixed #28553 -- Fixed annotation mismatch with QuerySet.values()/values_list(...David Wobrock
2023-03-20Fixed some typos in comments, docstrings, and tests.Liyang Zhang
2023-01-18Refs #34233 -- Used str.removeprefix()/removesuffix().Mariusz Felisiak
2023-01-09Fixed #34176 -- Fixed grouping by ambiguous aliases.Simon Charette
2022-12-01Refs #33308 -- Deprecated support for passing encoded JSON string literals to...Simon Charette
2022-11-23Fixed #31679 -- Delayed annotating aggregations.Simon Charette
2022-11-14Refs #25307 -- Replaced SQLQuery.rewrite_cols() by replace_expressions().Simon Charette
2022-11-14Reduced nesting inside Query.get_aggregation().Simon Charette
2022-11-14Refs #28477 -- Fixed handling aliased annotations on aggregation.Simon Charette
2022-11-11Refs #28477 -- Reduced complexity of aggregation over qualify queries.Simon Charette
2022-11-09Fixed #28477 -- Stripped unused annotations on aggregation.Simon Charette
2022-10-31Used more augmented assignment statements.Nick Pope
2022-10-06Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().Simon Charette
2022-10-06Refs #33992 -- Refactored subquery grouping logic.Simon Charette
2022-10-06Refs #33308 -- Enabled explicit GROUP BY and ORDER BY aliases.Simon Charette
2022-10-04Fixed #34012 -- Made QuerySet.order_by() apply transforms on related fields f...David Sanders
2022-09-22Fixed #34015 -- Allowed filtering by transforms on relation fields.Mariusz Felisiak
2022-09-09Fixed #33975 -- Fixed __in lookup when rhs is a queryset with annotate() and ...DevilsAutumn
2022-08-30Fixed #21204 -- Tracked field deferrals by field instead of models.Simon Charette
2022-07-27Used AND, OR, XOR constants instead of hard-coded values.Nick Pope
2022-07-04Fixed #33816 -- Fixed QuerySet.only() after select_related() crash on proxy m...Ipakeev
2022-06-27Refs #32786 -- Made query clear ordering when ordered combined queryset is us...Mariusz Felisiak
2022-05-13Fixed typo in Query.clone()'s docstring.非法操作
2022-04-26Fixed #33655 -- Removed unnecessary constant from GROUP BY clause for QuerySe...marcperrinoptel
2022-04-12Fixed #24296 -- Made QuerySet.exists() clear selected columns for not sliced ...mgaligniana
2022-04-11Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against SQL inj...Mariusz Felisiak
2022-04-11Fixed CVE-2022-28346 -- Protected QuerySet.annotate(), aggregate(), and extra...Mariusz Felisiak
2022-03-31Removed unnecessary Query.get_loaded_field_names_cb() and Query.deferred_to_d...Mariusz Felisiak
2022-03-31Refs #24020 -- Removed redundant Query.get_loaded_field_names().Mariusz Felisiak
2022-03-30Fixed #33598 -- Reverted "Removed unnecessary reuse_with_filtered_relation ar...Mariusz Felisiak
2022-03-16Refs #30581 -- Allowed sql.Query to be used without model.Gagaro
2022-03-03Refs #27624 -- Optimized Query.clone() a bit.Keryn Knight
2022-03-03Refs #27624 -- Optimized sql.Query creation by moving immutable/singleton att...Keryn Knight
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2022-01-17Fixed #29338 -- Allowed using combined queryset in Subquery.Mariusz Felisiak
2021-12-08Fixed #33319 -- Fixed crash when combining with the | operator querysets with...Ömer Faruk Abacı
2021-12-08Refs #33319 -- Added comment about keys/values assertion in Query.change_alia...Ömer Faruk Abacı