summaryrefslogtreecommitdiff
path: root/django/db/backends/base/operations.py
AgeCommit message (Expand)Author
2023-02-01[4.2.x] Refs #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
2019-07-08Refs #29444 -- Added support for fetching a returned non-integer insert value...Johannes Hoppe
2019-04-18Fixed typos in docs, comments, and exception messages.Ville Skyttä
2019-03-09Fixed #30242 -- Removed extra space before LIMIT/OFFSET SQL.Hang Park
2019-02-06Refs #27753 -- Favored force/smart_str() over force/smart_text().Aymeric Augustin
2018-11-09Fixed #29934 -- Added sqlparse as a require dependency.Tim Graham
2018-08-03Fixed #28668 -- Allowed QuerySet.bulk_create() to ignore insert conflicts.Tom
2018-04-19Fixed #28574 -- Added QuerySet.explain().Tom
2018-02-10Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).Matthew Wilkes
2017-12-27Refs #28459 -- Improved performance of loading DurationField on SQLite and My...Sergey Fedoseev
2017-11-03Clarified error message for when sqlplarse isn't installed.Nick
2017-10-06Fixed #28665 -- Change some database exceptions to NotImplementedError per PE...Simon Charette
2017-10-04Refs #28670 -- Moved LIMIT/OFFSET SQL to DatabaseOperations.limit_offset_sql().Mariusz Felisiak
2017-09-30Corrected typos in BaseDatabaseOperations exception messages.Mads Jensen
2017-09-29Used NotSupportedError for some unsupported database opreations per PEP 249.Mads Jensen
2017-09-18Fixed #26608 -- Added support for window expressions (OVER clause).Mads Jensen
2017-07-27Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't ...Mariusz Felisiak
2017-07-26Allowed database backends to specify data types for Cast().Mariusz Felisiak
2017-07-20Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expre...Tim Graham
2017-07-11Fixed #14204 -- Enforced SQLite foreign key constraints.Claude Paroz
2017-06-29Fixed #28010 -- Added FOR UPDATE OF support to QuerySet.select_for_update().Ran Benita
2017-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz