summaryrefslogtreecommitdiff
path: root/django/db/backends/base/operations.py
AgeCommit message (Expand)Author
2026-03-12Fixed #36727 -- Deprecated Field.get_placeholder in favor of get_placeholder_...Simon Charette
2026-02-28Added DatabaseOperations.convert_trunc_expression() hook.Tim Graham
2026-01-16Refs #36822 -- Hoisted bulk_batch_size() implementations to base backend.JaeHyuck Sa
2025-10-18Fixed #21961 -- Added support for database-level delete options for ForeignKey.Mariusz Felisiak
2025-09-23Fixed #36616 -- Added DatabaseOperations.adapt_durationfield_value().Tim Graham
2025-08-28Refs #27222 -- Adapted RETURNING handling to be usable for UPDATE queries.Simon Charette
2025-08-28Refs #27222 -- Implemented BaseDatabaseOperations.return_insert_columns()/fet...Simon Charette
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-05-14Fixed #36085 -- Added JSONField support for negative array indexing on SQLite.savanto
2025-05-14Refs #36085 -- Moved compile_json_path to BaseDatabaseOperations.hesham942
2025-03-17Fixed #34865 -- Released memory earlier than garbage collection on database w...fowczrek
2025-01-18Fixed #35448 -- Fixed formatting of test --debug-sql output.Tim Graham
2025-01-15Refs #34547 -- Removed DatabaseOperations.field_cast_sql() per deprecation ti...Sarah Boyce
2024-12-09Refs #35982 -- Made BaseDatabaseOperations.adapt_decimalfield_value() a no-op.Simon Charette
2024-08-28Refs #34547 -- Adjusted deprecation warning stacklevel in DatabaseOperations....Simon Charette
2024-03-14Refs #35295 -- Added BaseDatabaseOperations.bulk_insert_sql().Mariusz Felisiak
2024-01-16Fixed #35111 -- Fixed compilation of DateField __in/__range rhs on SQLite and...Simon Charette
2023-11-13Fixed #34967 -- Fixed queryset crash when grouping by constants on SQLite < 3...David Sanders
2023-10-28Refs #29850 -- Added RowRange support for positive integer start and negative...Sarah Boyce
2023-08-31Fixed #34547 -- Deprecated DatabaseOperations.field_cast_sql().David Smith
2023-04-18Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ...David Wobrock
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-12-15Fixed #33308 -- Added support for psycopg version 3.Daniele Varrazzo
2022-11-15Refs #33308 -- Used get_db_prep_value() to adapt JSONFields.Simon Charette
2022-07-06Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters.Simon Charette
2022-07-04Fixed CVE-2022-34265 -- Protected Trunc(kind)/Extract(lookup_name) against SQ...Mariusz Felisiak
2022-04-14Expanded QuerySet.explain() error message if a backend supports no formats.Tim Graham
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-19Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create().sean_c_hsu
2021-12-09Fixed #33340 -- Fixed unquoted column names in queries used by DatabaseCache.Arsa
2021-11-19Fixed #33229 -- Fixed BaseDatabaseOperations.adapt_datetimefield_value()/adap...SwastikTripathi
2021-10-22Fixed #33214 -- Added BaseDatabaseOperations.format_for_duration_arithmetic()...Manaia Junior
2021-03-23Fixed #32573 -- Fixed bounds in __iso_year lookup optimization.Florian Demmer
2020-10-14Fixed #31640 -- Made Trunc() truncate datetimes to Date/TimeField in a specif...David-Wobrock
2020-10-02Fixed #32060 -- Added Random database function.Nick Pope
2020-08-28Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder on...Mariusz Felisiak
2020-06-30Fixed #28925 -- Fixed durations-only expressions crash on SQLite and MySQL.Sergey Fedoseev
2020-05-21Fixed #30375 -- Added FOR NO KEY UPDATE support to QuerySet.select_for_update...Manuel Weitzman
2020-05-08Fixed #12990, Refs #27694 -- Added JSONField model field.sage
2020-05-06Fixed a/an typos in "SQL" usage.Adam Johnson
2020-04-20Fixed #31477 -- Removed "using" argument from DatabaseOperations.execute_sql_...Jon Dufresne
2020-04-17Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on P...Jon Dufresne
2020-01-20Fixed #31183 -- Added a feature flag for "<db> only supports UNBOUNDED togeth...Tim Graham
2020-01-03Fixed #31133 -- Fixed crash when subtracting against a subquery annotation.Simon Charette
2019-11-19Fixed #30987 -- Added models.PositiveBigIntegerField.Caio Ariede
2019-09-24Fixed #29444 -- Allowed returning multiple fields from INSERT statements on O...Johannes Hoppe
2019-09-09Refs #29444 -- Allowed returning multiple fields from INSERT statements on Po...Johannes Hoppe
2019-08-29Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude().Matthew Schinckel
2019-08-20Fixed #29979, Refs #17337 -- Extracted AutoField field logic into a mixin and...Nick Pope