summaryrefslogtreecommitdiff
path: root/django/db/models/sql/compiler.py
AgeCommit message (Expand)Author
2026-06-10Fixed #37142 -- Moved django_file_prefixes() to django.utils.warnings.zhengkangyang
2026-05-18Refs #37097 -- Removed compilation-time order clearing on combined queries on...Jacob Walls
2026-05-18Refs #36938 -- Reverted "Refs #36938 -- Tolerated unnecessary ordering in com...Jacob Walls
2026-05-11Refs #36938 -- Tolerated unnecessary ordering in compound queries on SQLite.Jacob Walls
2026-05-11Fixed #36938 -- Removed unnecessary ordering from compound queries.siddus
2026-03-19Refs #36795 -- Deprecated SQLCompiler.quote_name_unless_alias().Simon Charette
2026-03-19Fixed #36795 -- Enforced quoting of all database object names.Simon Charette
2026-03-12Fixed #36727 -- Deprecated Field.get_placeholder in favor of get_placeholder_...Simon Charette
2026-02-03Fixed CVE-2026-1312 -- Protected order_by() from SQL injection via aliases wi...Jacob Walls
2026-01-09Fixed #36815 -- Optimized insertion of db_default fields in bulk_create().YashRaj1506
2026-01-06Fixed #29257 -- Caught DatabaseError when attempting to close a possibly alre...VIZZARD-X
2025-12-04Added DatabaseFeatures.prohibits_dollar_signs_in_column_aliases.Tim Graham
2025-10-29Refs #35972 -- Returned params in a tuple in further lookups.Jacob Walls
2025-10-24Fixed #36674 -- Fixed memory leak in select_related().Ken Nzioka
2025-09-14Refs #27222 -- Refreshed GeneratedFields values on save() initiated update.Simon Charette
2025-08-28Refs #27222 -- Adapted RETURNING handling to be usable for UPDATE queries.Simon Charette
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-04-07Fixed #36301 -- Fixed select_for_update(of) crash when using values()/values_...Simon Charette
2025-03-31Refs #28909 -- Simplified code using unpacking generalizations.Aarni Koskela
2025-02-13Refs #36181 -- Removed the obsolete SubqueryConstraint machinery.Simon Charette
2025-02-01Fixed #36088 -- Avoided unnecessary DEFAULT usage on bulk_create().Simon Charette
2025-01-28Fixed #36122 -- Raised FieldError when updating with composite reference value.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...朱穆穆