summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
AgeCommit message (Expand)Author
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ı
2021-12-07Refs #25265 -- Allowed customizing Query's datastructure classes.Erik Cederstrand
2021-12-02Fixed #33282 -- Fixed a crash when OR'ing subquery and aggregation lookups.Simon Charette
2021-11-19Refs #24121 -- Added __repr__() to BaseDatabaseWrapper, JoinPromoter, and SQL...Jonny Park
2021-11-03Fixed #32996 -- Cached PathInfos on relations.Keryn Knight
2021-10-13Refs #25265 -- Allowed Query subclasses to build filters.Erik Cederstrand
2021-10-06Refs #26430 -- Removed unused branch in sql.Query.get_count().Simon Charette
2021-09-29Fixed #33018 -- Fixed annotations with empty queryset.David Wobrock
2021-09-29Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_...David Wobrock
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-17Refs #27624 -- Changed Query.explain_info to namedtuple.Adam Johnson
2021-09-17Optimized Query.clone() a bit.Adam Johnson