summaryrefslogtreecommitdiff
path: root/django/db/models/sql
Commit message (Expand)AuthorAgeFilesLines
* Fixed #34570 -- Silenced noop deferral of many-to-many and GFK.Simon Charette2023-05-171-1/+9
* Fixed #33759 -- Avoided unnecessary subquery in QuerySet.delete() with self-r...4the4ryushin2023-05-011-1/+4
* Refs #33766 -- Removed sql.Query.build_filtered_relation_q().Simon Charette2023-04-241-29/+8
* Refs #33766 -- Removed unused Join.equals().Simon Charette2023-04-241-7/+0
* Fixed #33766 -- Resolved FilteredRelation.condition at referencing time.Simon Charette2023-04-242-36/+39
* Refs #16055 -- Deprecated get_joining_columns()/get_reverse_joining_columns()...David Wobrock2023-04-181-0/+12
* Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ...David Wobrock2023-04-181-11/+22
* Fixed #34464 -- Fixed queryset aggregation over group by reference.Simon Charette2023-04-071-0/+3
* Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.Simon Charette2023-04-051-1/+2
* Fixed #34450 -- Fixed multi-valued JOIN reuse when filtering by expressions.Simon Charette2023-04-041-1/+1
* Refs #29799 -- Added field instance lookups to suggestions in FieldErrors.Mariusz Felisiak2023-03-281-1/+1
* Fixed #34437 -- Made values() resolving error mention selected annotations.Simon Charette2023-03-251-5/+10
* Fixed #28553 -- Fixed annotation mismatch with QuerySet.values()/values_list(...David Wobrock2023-03-241-6/+11
* Fixed some typos in comments, docstrings, and tests.Liyang Zhang2023-03-201-1/+1
* Fixed #34368 -- Made subquery raise NotSupportedError when referencing outer ...Simon Charette2023-02-271-1/+1
* Fixed #34372 -- Fixed queryset crash on order by aggregation using OrderBy.Simon Charette2023-02-271-0/+2
* Fixed #34346 -- Ordered selected expressions by position.Simon Charette2023-02-201-8/+35
* Refs #34176 -- Adjusted group by position variables naming to follow SQL spec.Simon Charette2023-02-181-5/+5
* Fixed #34227 -- Fixed QuerySet.select_related() with multi-level FilteredRela...朱穆穆2023-01-241-1/+8
* Fixed #34267 -- Fixed sliced QuerySet.union() crash.Francesco Panico2023-01-201-3/+0
* Refs #34233 -- Used str.removeprefix()/removesuffix().Mariusz Felisiak2023-01-181-2/+1
* Fixed #34176 -- Fixed grouping by ambiguous aliases.Simon Charette2023-01-092-45/+39
* Simplified SQLCompiler.get_group_by() a bit.Simon Charette2023-01-041-4/+2
* Fixed #34226 -- Fixed QuerySet.select_related() with multiple FilteredRelatio...朱穆穆2022-12-271-2/+2
* Refs #34226 -- Renamed local field variables in SQLCompiler.get_related_selec...Mariusz Felisiak2022-12-241-12/+16
* Refs #33308 -- Deprecated support for passing encoded JSON string literals to...Simon Charette2022-12-012-12/+6
* Fixed #31679 -- Delayed annotating aggregations.Simon Charette2022-11-231-41/+34
* Fixed #34171 -- Fixed QuerySet.bulk_create() on fields with db_column in uniq...DevilsAutumn2022-11-221-2/+2
* Fixed #34123 -- Fixed combinator order by alias when using select_related().Simon Charette2022-11-151-10/+20
* Avoided unnecessary usage of RawSQL.Simon Charette2022-11-151-4/+4
* Refs #25307 -- Replaced SQLQuery.rewrite_cols() by replace_expressions().Simon Charette2022-11-141-62/+25
* Reduced nesting inside Query.get_aggregation().Simon Charette2022-11-141-7/+6
* Refs #28477 -- Fixed handling aliased annotations on aggregation.Simon Charette2022-11-141-1/+1
* Refs #28477 -- Reduced complexity of aggregation over qualify queries.Simon Charette2022-11-111-14/+20
* Fixed #28477 -- Stripped unused annotations on aggregation.Simon Charette2022-11-092-20/+57
* Refs #33374 -- Adjusted full match condition handling.Simon Charette2022-11-073-25/+45
* Refs #17144 -- Removed support for grouping by primary key.Simon Charette2022-11-071-35/+4
* Fixed #31331 -- Switched MySQL to group by selected primary keys.Simon Charette2022-11-071-1/+3
* Used more augmented assignment statements.Nick Pope2022-10-312-2/+2
* Fixed #34125 -- Fixed sliced QuerySet.union() crash on a single non-empty que...Simon Charette2022-10-291-1/+5
* Used Query.is_sliced in SQLCompiler.as_sql().Simon Charette2022-10-281-3/+1
* Fixed #34105 -- Fixed crash of ordering by nested selected expression.Simon Charette2022-10-181-6/+1
* Refs #30158 -- Removed alias argument for Expression.get_group_by_cols().Simon Charette2022-10-062-9/+12
* Refs #31150 -- Enabled implicit GROUP BY aliases.Simon Charette2022-10-061-4/+8
* Refs #33992 -- Refactored subquery grouping logic.Simon Charette2022-10-062-10/+16
* Refs #33308 -- Enabled explicit GROUP BY and ORDER BY aliases.Simon Charette2022-10-062-7/+33
* Fixed #33768 -- Fixed ordering compound queries by nulls_first/nulls_last on ...Simon Charette2022-10-051-10/+11
* Avoided unnecessary call to .get_source_expressions().Simon Charette2022-10-041-2/+2
* Fixed #34012 -- Made QuerySet.order_by() apply transforms on related fields f...David Sanders2022-10-042-1/+4
* Fixed #34024 -- Fixed crash when aggregating querysets with Q objects annotat...David Sanders2022-09-231-0/+4