summaryrefslogtreecommitdiff
path: root/django/db/models/sql/compiler.py
AgeCommit message (Expand)Author
2026-02-03[5.2.x] Fixed CVE-2026-1312 -- Protected order_by() from SQL injection via al...Jacob Walls
2025-04-07[5.2.x] Fixed #36301 -- Fixed select_for_update(of) crash when using values()...Simon Charette
2025-02-15[5.2.x] Refs #36181 -- Removed the obsolete SubqueryConstraint machinery.Mariusz Felisiak
2025-01-28[5.2.x] Fixed #36122 -- Raised FieldError when updating with composite refere...Simon Charette
2025-01-13Fixed #36086 -- Fixed crash when using GeneratedField with non-AutoField pk.Simon Charette
2025-01-13Refs #373 -- Removed unused composite pk code in SQLInsertCompiler.Simon Charette
2025-01-08Fixed #36065 -- Fixed ordering by expression referencing composite primary key.Simon Charette
2025-01-03Fixed #35918 -- Added support for execute_sql to directly return row counts.Raphael Gaschignard
2024-12-11Refs #35936 -- Avoided field placeholder lookup for each value inserted.Simon Charette
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-08-02Fixed #35643 -- Fixed a crash when ordering a QuerySet by a reference contain...Simon Charette
2024-07-22Fixed #35614 -- Prevented SQLCompiler.as_subquery_condition() from mutating a...Bendeguz Csirmaz
2024-07-19Fixed #35559 -- Avoided unnecessary query on sliced union of empty queries.Simon Charette
2024-07-16Doc'd purpose of tuple() in SQLCompiler.get_from_clause().Tim Graham
2024-07-15Removed leftover KeyError handling after Query.tables attribute cleanup.nessita
2024-07-03Fixed #28900 -- Propagated all selected fields to combinator queries.Simon Charette
2024-07-03Refs #28900 -- Made SELECT respect the order specified by values(*selected).Simon Charette
2024-04-23Refs #35356 -- Clarified select related with masked field logic.Simon Charette
2024-04-23Fixed #35356 -- Deferred self-referential foreign key fields adequately.Simon Charette
2024-03-15Fixed #35294 -- Fixed TEXT format of QuerySet.explain() for long plans.Adam Johnson
2024-02-26Fixed #35241 -- Cached model's full parent list.Adam Johnson
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2023-12-12Fixed #34013 -- Added QuerySet.order_by() support for annotation transforms.Simon Charette
2023-12-07Fixed #35024 -- Fixed model instance creation crash on GeneratedField.output_...Mariusz Felisiak
2023-11-13Fixed #34967 -- Fixed queryset crash when grouping by constants on SQLite < 3...David Sanders
2023-05-22Fixed #34580 -- Avoided unnecessary computation of selected expressions in SQ...Simon Charette
2023-05-01Fixed #33759 -- Avoided unnecessary subquery in QuerySet.delete() with self-r...4the4ryushin
2023-02-27Fixed #34368 -- Made subquery raise NotSupportedError when referencing outer ...Simon Charette
2023-02-27Fixed #34372 -- Fixed queryset crash on order by aggregation using OrderBy.Simon Charette
2023-02-20Fixed #34346 -- Ordered selected expressions by position.Simon Charette
2023-02-18Refs #34176 -- Adjusted group by position variables naming to follow SQL spec.Simon Charette
2023-01-24Fixed #34227 -- Fixed QuerySet.select_related() with multi-level FilteredRela...朱穆穆
2023-01-20Fixed #34267 -- Fixed sliced QuerySet.union() crash.Francesco Panico
2023-01-09Fixed #34176 -- Fixed grouping by ambiguous aliases.Simon Charette
2023-01-04Simplified SQLCompiler.get_group_by() a bit.Simon Charette
2022-12-27Fixed #34226 -- Fixed QuerySet.select_related() with multiple FilteredRelatio...朱穆穆
2022-12-24Refs #34226 -- Renamed local field variables in SQLCompiler.get_related_selec...Mariusz Felisiak
2022-12-01Refs #33308 -- Deprecated support for passing encoded JSON string literals to...Simon Charette
2022-11-22Fixed #34171 -- Fixed QuerySet.bulk_create() on fields with db_column in uniq...DevilsAutumn
2022-11-15Fixed #34123 -- Fixed combinator order by alias when using select_related().Simon Charette
2022-11-15Avoided unnecessary usage of RawSQL.Simon Charette
2022-11-07Refs #33374 -- Adjusted full match condition handling.Simon Charette
2022-11-07Refs #17144 -- Removed support for grouping by primary key.Simon Charette
2022-11-07Fixed #31331 -- Switched MySQL to group by selected primary keys.Simon Charette
2022-10-31Used more augmented assignment statements.Nick Pope
2022-10-29Fixed #34125 -- Fixed sliced QuerySet.union() crash on a single non-empty que...Simon Charette
2022-10-28Used Query.is_sliced in SQLCompiler.as_sql().Simon Charette
2022-10-18Fixed #34105 -- Fixed crash of ordering by nested selected expression.Simon Charette
2022-10-06Refs #31150 -- Enabled implicit GROUP BY aliases.Simon Charette
2022-10-06Refs #33992 -- Refactored subquery grouping logic.Simon Charette