summaryrefslogtreecommitdiff
path: root/django/db/models/query.py
AgeCommit message (Expand)Author
2025-06-03[5.2.x] Fixed #36416 -- Made QuerySet.in_bulk() account for composite pks in ...Jacob Walls
2025-05-19[5.2.x] Fixed #36388 -- Made QuerySet.union() return self when called with no...Colleen Dunlap
2025-05-12[5.2.x] Fixed #36373 -- Fixed select_related() crash on foreign object for a ...Simon Charette
2025-04-30[5.2.x] Fixed #36360 -- Fixed QuerySet.update() crash when referring annotati...Simon Charette
2025-04-11[5.2.x] Fixed #36288 -- Addressed improper handling of duplicates in values_l...Simon Charette
2025-02-11[5.2.x] Fixed #36149 -- Allowed subquery values against tuple exact and in lo...Simon Charette
2025-01-30[5.2.x] Fixed #36155 -- Improved error handling when annotate arguments requi...Vinko Mlačić
2025-01-29[5.2.x] Fixed #36118 -- Accounted for multiple primary keys in bulk_update ma...Sarah Boyce
2025-01-14Refs #36075 -- Adjusted pk_fields usage in bulk_update eligibility checks.Simon Charette
2025-01-13Refs #36075 -- Used field in pk_fields over field.primary_key.Sarah Boyce
2025-01-10Fixed #36068 -- Raised ValueError when providing a composite PK field to bulk...Jacob Walls
2025-01-03Fixed #35918 -- Added support for execute_sql to directly return row counts.Raphael Gaschignard
2025-01-02Fixed typo in django/db/models/query.py docstring.Jacob Walls
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-11-01Fixed #35837 -- Added missing alters_data=True to QuerySet and UserManager me...Sarah Boyce
2024-09-09Refs #373 -- Added Model._is_pk_set() abstraction to check if a Model's PK is...Csirmaz Bendegúz
2024-09-02Fixed #35690 -- Errored nicely when using in_bulk() with a values() or values...John Parton
2024-07-03Refs #28900 -- Made SELECT respect the order specified by values(*selected).Simon Charette
2024-02-26Fixed #35241 -- Cached model's full parent list.Adam Johnson
2024-02-20Fixed #35236 -- Used Field.attname/column attributes instead of get_attname()...Adam Johnson
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2024-01-02Improved variable names in QuerySet.delete().Michael
2023-10-06Fixed #34889 -- Fixed get_prefetch_queryset() fallback in prefetch_one_level().Mariusz Felisiak
2023-09-18Fixed #33651 -- Added support for prefetching GenericForeignKey.Clément Escolano
2023-09-07Fixed #34791 -- Fixed incorrect Prefetch()'s cache for singly related objects.Maxime Toussaint
2023-09-07Fixed #31300 -- Added GeneratedField model field.Jeremy Nauta
2023-08-25Simplified QuerySet.update_or_create() a bit.Muzaffer Cikay
2023-08-09Fixed #34586 -- Made QuerySet.create() raise ValueError for reverse one-to-ma...Mariana
2023-07-31Fixed #34331 -- Added QuerySet.aiterator() support for prefetch_related().John Parton
2023-07-10Fixed #34698 -- Made QuerySet.bulk_create() retrieve primary keys when updati...Thomas Chaumeny
2023-07-07Refs #32433 -- Reallowed calling QuerySet.delete() after distinct().Simon Charette
2023-05-12Fixed #470 -- Added support for database defaults on fields.Ian Foote
2023-03-18Fixed #34421 -- Fixed QuerySet.update() on querysets in descending order by a...hb6h057
2023-03-03Fixed #34378 -- Made QuerySet.in_bulk() not clear odering when id_list is pas...Ekaterina Vahrusheva
2023-02-14Fixed #34280 -- Allowed specifying different field values for create operatio...tschilling
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2023-01-17Refs #29984 -- Made QuerySet.iterator() without chunk_size raise ValueError a...Mariusz Felisiak
2023-01-17Refs #32365 -- Removed is_dst argument for various methods and functions.Mariusz Felisiak
2022-11-23Fixed #31679 -- Delayed annotating aggregations.Simon Charette
2022-11-22Fixed #34171 -- Fixed QuerySet.bulk_create() on fields with db_column in uniq...DevilsAutumn
2022-11-22Fixed #34177 -- Fixed QuerySet.bulk_create() crash on "pk" in unique_fields.Mariusz Felisiak
2022-11-04Fixed #27654 -- Propagated alters_data attribute to callables overridden in s...LightDiscord
2022-09-30Fixed #32095 -- Made QuerySet.update_or_create() save only fields passed in d...sarahboyce
2022-06-23Fixed #33799, Refs #31685 -- Added parameters for updating conflicts to Query...DhruvaPatil98
2022-06-17Fixed #28897 -- Fixed QuerySet.update() on querysets ordered by annotations.David Wobrock
2022-06-14Fixed #33772 -- Added QuerySet.first()/last() error message on unordered quer...Pablo Pissi
2022-06-13Made QuerySet.bulk_update() raise an error when batch_size is zero.Ebram Shehata
2022-05-04Refs #33646 -- Reduced sync_to_async hops on async QuerySet iteration.Simon Charette
2022-05-02Refs #33646 -- Made QuerySet.raw() async-compatible.Mariusz Felisiak
2022-05-02Refs #33646 -- Added RawModelIterable.Mariusz Felisiak