summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
AgeCommit message (Expand)Author
2023-10-16Fixed #34798 -- Fixed QuerySet.aggregate() crash when referencing expressions...Simon Charette
2023-08-11Fixed #34362 -- Fixed FilteredRelation() crash on conditional expressions.Francesco Panico
2023-08-11Fixed #34743 -- Fixed Meta.constraints validation crash when using pk.Francesco Panico
2023-08-02Removed unneeded escapes in regexes.Mariusz Felisiak
2023-08-01Fixed #34750 -- Fixed QuerySet.count() when grouping by unused multi-valued a...Mariusz Felisiak
2023-07-21Refs #34362 -- Added get_child_with_renamed_prefix() hook.Francesco Panico
2023-07-19Fixed #34717 -- Fixed QuerySet.aggregate() crash when referencing window func...Simon Charette
2023-06-14Refs #32143 -- Removed superflous constraints on excluded query.Simon Charette
2023-06-14Refs #32143 -- Adjusted a comment about subquery usage in Query.split_exclude().Simon Charette
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