summaryrefslogtreecommitdiff
path: root/django/db/backends/base
AgeCommit message (Collapse)Author
2018-06-17[2.1.x] Fixed #29496 -- Fixed crash on Oracle when converting a non-unique ↵Mariusz Felisiak
field to primary key. Thanks Tim Graham for the review. Backport of 6dd4edb1b4f5441c5f543e29395039839c50d10b from master
2018-04-19Fixed #28574 -- Added QuerySet.explain().Tom
2018-04-11Fixed #29193 -- Prevented unnecessary foreign key drops when altering a ↵Jeremy Bowman
unique field. Stopped dropping and recreating foreign key constraints on other fields in the same table as the one which is actually being altered in an AlterField operation. Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0.
2018-04-03Fixed #29251 -- Added bytes to str conversion in LPad/RPad database ↵Mariusz Felisiak
functions on MySQL. Thanks Tim Graham for the review.
2018-03-20Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than ↵Tim Graham
NullBooleanField.
2018-03-16Removed DatabaseFeatures.can_introspect_null.Tim Graham
The only known usage is in the unmaintained django-pymssql project.
2018-03-12Fixed typo in django/db/backends/base/schema.py.Tomer Chachamu
2018-03-12Removed unused variable in BaseDatabaseSchemaEditor.effective_default().Дилян Палаузов
2018-02-26Refs #28909 -- Simplifed code using unpacking generalizations.Mariusz Felisiak
2018-02-10Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).Matthew Wilkes
2018-02-07Renamed the allow_sliced_subqueries database feature to ↵Mariusz Felisiak
allow_sliced_subqueries_with_in. After 0899d583bdb140910698d00d17f5f1abc8774b07 this database feature is false only on MySQL which doesn't support sliced subqueries only with IN/ALL/ANY/SOME.
2018-01-13Fixed #28542 -- Fixed deletion of primary key constraint if the new field is ↵Tim Martin
unique.
2018-01-12Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵Дилян Палаузов
continue statements.
2017-12-27Refs #28459 -- Improved performance of loading DurationField on SQLite and ↵Sergey Fedoseev
MySQL.
2017-12-21Refs #28909 -- Simplifed code using unpacking generalizations.Nick Pope
2017-12-05Refs #28876 -- Fixed incorrect foreign key constraint name for models with ↵Mariusz Felisiak
quoted db_table. Thanks Simon Charette and Tim Graham for the review and Carlos E. C. Leite for the report.
2017-12-01Fixed #28849 -- Fixed referenced table and column rename on SQLite.Simon Charette
Thanks Ramiro for the input and Tim for the review.
2017-12-01Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key ↵Tim Graham
constraint" crash on MySQL with a sequence of AlterField or RenameField operations. Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9.
2017-11-28Fixed #28853 -- Updated connection.cursor() uses to use a context manager.Jon Dufresne
2017-11-14Fixed #28792 -- Fixed index name truncation of namespaced tables.Simon Charette
Refs #27458, #27843. Thanks Tim and Mariusz for the review.
2017-11-07Fixed #28769 -- Replaced 'x if x else y' with 'x or y'.Дилян Палаузов
2017-11-03Clarified error message for when sqlplarse isn't installed.Nick
2017-10-06Fixed #28665 -- Change some database exceptions to NotImplementedError per ↵Simon Charette
PEP 249.
2017-10-04Refs #28670 -- Moved LIMIT/OFFSET SQL to DatabaseOperations.limit_offset_sql().Mariusz Felisiak
Thanks Tim Graham for the review.
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-25Removed DatabaseFeatures.supports_microsecond_precision.Tim Graham
MySQL 5.5 (refs #28552) was the last database to use it.
2017-09-22Refs #27098 -- Removed DatabaseIntrospection.get_indexes() per deprecation ↵Tim Graham
timeline.
2017-09-21Refs #28595 -- Added a hook to add execute wrappers for database queries.Shai Berger
Thanks Adam Johnson, Carl Meyer, Anssi Kääriäinen, Mariusz Felisiak, Michael Manfre, and Tim Graham for discussion and review.
2017-09-18Fixed #26608 -- Added support for window expressions (OVER clause).Mads Jensen
Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes, Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie Cockburn for initial patch.
2017-09-18Changed default value of DatabaseFeatures.has_bulk_insert to True.Mads Jensen
2017-09-13Refs #27090 -- Added real database sequence introspection.Mariusz Felisiak
Thanks Mariusz Felisiak for the Oracle part and Tim Graham for the review.
2017-09-11Fixed #28578 -- Renamed DatabaseCreation number arguments to suffix.Jon Dufresne
2017-08-12Fixed #27849 -- Added filtering support to aggregates.Tom
2017-08-12Fixed #23546 -- Added kwargs support for CursorWrapper.callproc() on Oracle.Mariusz Felisiak
Thanks Shai Berger, Tim Graham and Aymeric Augustin for reviews and Renbi Yu for the initial patch.
2017-08-08Refs #23766 -- Added tests for CursorWrapper.callproc().Mariusz Felisiak
Thanks Tim Graham for the review.
2017-08-08Fixed #28465 -- Unified index SQL creation in DatabaseSchemaEditorClaude Paroz
Thanks Tim Graham for the review.
2017-07-27Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't ↵Mariusz Felisiak
provided. Thanks Tim Graham for the review.
2017-07-26Allowed database backends to specify data types for Cast().Mariusz Felisiak
A small refactor ahead of refs #28371.
2017-07-24Refs #24996 -- Removed unused BaseDatabaseFeatures.supports_select_related.Mariusz Felisiak
Unused since 0c7633178fa9410f102e4708cef979b873bccb76.
2017-07-20Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵Tim Graham
Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
2017-07-17Fixed #28391 -- Fixed Cast() with CharField and max_length on MySQL.Mariusz Felisiak
Thanks Tim Graham for the review.
2017-07-11Fixed #14204 -- Enforced SQLite foreign key constraints.Claude Paroz
Thanks Tim Graham for contributing to the patch and Simon Charette for advice and review.
2017-06-29Fixed #28010 -- Added FOR UPDATE OF support to QuerySet.select_for_update().Ran Benita
2017-06-27Fixed #28046 -- Added the db_tablespace parameter to class-based indexes.Mariusz Felisiak
Thanks Markus Holtermann and Tim Graham for reviews.
2017-06-22Fixed #28298 -- Prevented a primary key alteration from adding a foreign key ↵Josh Schneier
constraint if db_constraint=False.
2017-06-21Refs #25530 -- Deleted deferred SQL references on delete operation.Simon Charette
2017-06-21Refs #25530 -- Renamed deferred SQL references on rename operation.Simon Charette
2017-06-21Refs #25530 -- Tracked references of deferred SQL statements.Simon Charette
2017-06-20Refs #25530 -- Changed _create_index_name to take a table as first parameter.Simon Charette