summaryrefslogtreecommitdiff
path: root/django/db/backends/base
AgeCommit message (Collapse)Author
2017-12-01[2.0.x] Fixed #28849 -- Fixed referenced table and column rename on SQLite.Simon Charette
Thanks Ramiro for the input and Tim for the review. Backport of 095c1aaa898bed40568009db836aa8434f1b983d from master
2017-12-01[2.0.x] Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign ↵Tim Graham
key constraint" crash on MySQL with a sequence of AlterField or RenameField operations. Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9. Backport of c3e0adcad8d8ba94b33cabd137056166ed36dae0 from master
2017-11-15[2.0.x] Fixed #28792 -- Fixed index name truncation of namespaced tables.Simon Charette
Refs #27458, #27843. Thanks Tim and Mariusz for the review. Backport of ee85ef8315db839e5723dea19d8b971420a2ebb4 from master
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
2017-06-06Fixed #28275 -- Added more hooks to SchemaEditor._alter_field().Florian Apolloner
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-06-01Fixed #26682 -- Added support for Oracle identity columns.Mariusz Felisiak
Thanks Shai Berger and Tim Graham for reviews.
2017-05-23Fixed #27859 -- Ignored db_index for TextField/BinaryField on Oracle and MySQL.Mariusz Felisiak
Thanks Zubair Alam for the initial patch and Tim Graham for the review.
2017-05-23Refs #27859 -- Added DatabaseWrapper.display_name.Mariusz Felisiak
Thanks Tim Graham for the review.
2017-05-14Refs #27859 -- Refactored BaseDatabaseValidation to use check_field_type().Mariusz Felisiak
Thanks Tim Graham for the review.
2017-05-09Pass type to sql_alter_column_* where it was missing.Florian Apolloner
This is a followup to 2b3a9414570af623853ca0f819c7d77d0511f22c
2017-05-01Fixed typo in django/db/backends/base/schema.py comment.Tim Graham
2017-05-01Fixed #28052 -- Prevented dropping Meta.indexes when changing db_index to False.Markus Holtermann
Thanks Marc Tamlyn for the report and Ian Foote/Tim Graham for review.
2017-04-27Refs #27795 -- Replaced many force_text() with str()Claude Paroz
Thanks Tim Graham for the review.
2017-04-10Fixed #25406 -- Removed exception hiding in PostgreSQL test database ↵Mariusz Felisiak
creation during --keepdb. Thanks Markus Holtermann and Tim Graham for reviews.
2017-04-02Fixed #27928 -- Avoided SET/DROP DEFAULT unless a field changes from null to ↵Simon Charette
non-null. Thanks Christophe Pettus, Matteo Pietro Russo for reports and Tim for review.
2017-03-24Refs #21160 -- Replaced DatabaseFeatures.supports_1000_query_parameters by a ↵Mariusz Felisiak
DatabaseFeatures.max_query_params.
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-02-27Refs #27802 -- Corrected BaseDatabaseOperations.datetime_extract/trunc_sql() ↵Tim Graham
docstrings.
2017-02-23Refs #23919 -- Used yield from.Vytis Banaitis
2017-01-28Fixed #27788 -- Dropped support for Oracle < 12.1.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-17Refs #26285 -- Removed MySQL __search lookup per deprecation timeline.Tim Graham
2017-01-17Refs #24154 -- Removed deprecated ↵Tim Graham
BaseDatabaseOperations.check_aggregate_support().
2017-01-16Refs #16614 -- Called _prepare_cursor() on every created cursor.François Freitag
2017-01-14Fixed #27718 -- Added QuerySet.union(), intersection(), difference().Florian Apolloner
Thanks Mariusz Felisiak for review and Oracle assistance. Thanks Tim Graham for review and writing docs.
2017-01-11Refs #16614 -- Made QuerySet.iterator() use server-side cursors on PostgreSQL.François Freitag
Thanks to Josh Smeaton for the idea of implementing server-side cursors in PostgreSQL from the iterator method, and Anssi Kääriäinen and Kevin Turner for their previous work. Also Simon Charette and Tim Graham for review.