summaryrefslogtreecommitdiff
path: root/django/db/models/sql
AgeCommit message (Expand)Author
2025-02-15[5.2.x] Refs #36181 -- Removed the obsolete SubqueryConstraint machinery.Mariusz Felisiak
2025-02-11[5.2.x] Fixed #36149 -- Allowed subquery values against tuple exact and in lo...Simon Charette
2025-02-06[5.2.x] Fixed #35677 -- Avoided non-sticky filtering of prefetched many-to-many.Simon Charette
2025-01-28[5.2.x] Fixed #36122 -- Raised FieldError when updating with composite refere...Simon Charette
2025-01-28[5.2.x] Fixed #36120 -- Raised FieldError when targeting a composite primary ...Jacob Walls
2025-01-27[5.2.x] Fixed #36109 -- Fixed RecursionError when stacking FilteredRelation j...Peter DeVita
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
2025-01-03Fixed #36029 -- Handled implicit exact lookups in condition depth checks for ...Jacob Walls
2024-12-11Refs #35936 -- Avoided field placeholder lookup for each value inserted.Simon Charette
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-10-14Fixed #35744 -- Relabelled external aliases of combined queries.Simon Charette
2024-08-12Fixed #35586 -- Added support for set-returning database functions.Devin Cox
2024-08-06Fixed CVE-2024-42005 -- Mitigated QuerySet.values() SQL injection attacks aga...Simon Charette
2024-08-02Fixed #35643 -- Fixed a crash when ordering a QuerySet by a reference contain...Simon Charette
2024-08-01Refs #373 -- Added tuple lookups.Bendeguz Csirmaz
2024-07-23Fixed #35585 -- Corrected Query.exists() call in Query.has_results().Flavio Curella
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-09Fixed #35413 -- Made unsupported lookup error message more specific.wookkl
2024-07-03Refs #28900 -- Made Query.has_select_fields a computed property.Simon Charette
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-06-25Used Query.add_annotation where appropriate.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-02-07Fixed #35099 -- Prevented mutating queryset when combining with & and | opera...Hisham Mahmood
2024-01-29Fixed #35135 -- Made FilteredRelation raise ValueError on querysets as rhs.Nicolas Delaby
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2024-01-15Refs #35102 -- Optimized replace_expressions()/relabelling aliases by adding ...Mariusz Felisiak
2023-12-23Fixed #35050 -- Fixed prefixing field names in FilteredRelation().David Wobrock
2023-12-16Fixed #35042 -- Fixed a count() crash on combined queries.Simon Charette
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-18Refs #34717 -- Avoided computing aggregate refs twice.Simon Charette
2023-11-18Refs #34975 -- Complemented rhs filtering aggregations for __in lookup.Simon Charette
2023-11-18Fixed #34975 -- Fixed crash of conditional aggregate() over aggregations.Simon Charette
2023-11-13Fixed #34967 -- Fixed queryset crash when grouping by constants on SQLite < 3...David Sanders
2023-10-16Fixed #34798 -- Fixed QuerySet.aggregate() crash when referencing expressions...Simon Charette
2023-09-07Fixed #31300 -- Added GeneratedField model field.Jeremy Nauta
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