summaryrefslogtreecommitdiff
path: root/django/db/backends
AgeCommit message (Collapse)Author
2017-10-03Refs #28584 -- Removed unused DatabaseFeatures.can_share_in_memory_db.Tim Graham
2017-10-03Fixed #28584 -- Dropped support for SQLite < 3.7.15.Tim Graham
2017-09-30Corrected typos in BaseDatabaseOperations exception messages.Mads Jensen
2017-09-29Fixed #27979 -- Made MySQL raise IntegrityError rather than OperationalError ↵Tim Graham
when saving negative numbers in PositiveInteger fields.
2017-09-29Used NotSupportedError for some unsupported database opreations per PEP 249.Mads Jensen
2017-09-27Fixed #28626 -- Dropped support for PostgreSQL 9.3.Tim Graham
Thanks Simon Charette for the introspection changes.
2017-09-25Removed DatabaseFeatures.supports_microsecond_precision.Tim Graham
MySQL 5.5 (refs #28552) was the last database to use it.
2017-09-25Fixed #28552 -- Dropped support for MySQL 5.5.Tim Graham
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-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better.
2017-09-07Removed unneeded __init__() methods.Sergey Fedoseev
2017-09-06Replaced @cached_property with class attributes where possible.Sergey Fedoseev
2017-09-06Removed DatabaseWrapper.psycopg2_version.Sergey Fedoseev
Unused since 3adc5f1ee6618a615db07d4a868b366a15c39f82.
2017-09-05Removed unneeded __init__() in PostgreSQL DatabaseWrapper.Mads Jensen
2017-09-05Removed useless condition from Oracle's NullBooleanField's check constraint.Mariusz Felisiak
NULL cannot be compare with standard operators on Oracle, it works only with IS NULL and IS NOT NULL operators. Therefore 'OR ... IS NULL' condition in NullBooleanField's check constraint is redundant. Nullability is checked in a separate constraint.
2017-08-22Fixed #28451 -- Restored pre-Django 1.11 Oracle sequence/trigger naming.Kevin Grinberg
Regression in 69b7d4b116e3b70b250c77829e11038d5d55c2a8.
2017-08-21Removed postgresql_psycopg2.versionMariusz Felisiak
Uneeded since 29ea9714ee23525000dd8bdb7a9aafb2147de8c7.
2017-08-16Fixed #28498 -- Fixed test database creation with cx_Oracle 6.Mariusz Felisiak
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-11Replaced typecast_decimal() with decimal.Decimal().Sergey Fedoseev
2017-08-10Refs #28459 -- Improved performance of loading DecimalField on SQLite.Sergey Fedoseev
2017-08-10Refs #28459 -- Made Oracle get_db_converters() return converter for empty ↵Sergey Fedoseev
strings only when it's needed.
2017-08-09Simplified SQLite converter for bool type.Sergey Fedoseev
2017-08-09Refs #4518 -- Removed handling of empty strings in typecast_decimal().Sergey Fedoseev
It's unclear if the original change was needed, but it seems unneeded now. Reverted 6fc10f50b0c9b877fffcad4893056cb91fa66b4f.
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-08-07Removed unnecessary assignment in Oracle's ↵Srinivas Reddy Thatiparthy
FormatStylePlaceholderCursor._fix_for_params(). Obsolete since fae56427e1987ff8c8bd24d6331007f9c53e7abc.
2017-08-01Removed unused DatabaseOperations.last_insert_id() on PostgreSQL.Mariusz Felisiak
Unused since 9eb2afddfa0165d69f3e506122c2aa2b68618591.
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-24Fixed DatabaseFeatures.has_case_insensitive_like on MySQL and Oracle.Mariusz Felisiak
Incorrect since its introduction in 20bab2cf9d02a5c6477d8aac066a635986e0d3f3.
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-19Fixed #28411 -- Used cx_Oracle.Cursor.outputtypehandler instead of ↵Mariusz Felisiak
_rowfactory() on Oracle. Thanks Tim Graham for the review.
2017-07-17Fixed #28391 -- Fixed Cast() with CharField and max_length on MySQL.Mariusz Felisiak
Thanks Tim Graham for the review.
2017-07-17Removed unused enter/exit methods of MySQL's CursorWrapper.Tim Graham
Unused since their introduction in e1d839237f7ce38ef078b7f09cc3a1aeaacc02f0.
2017-07-14Removed unused branch in __getattr__() of Oracle and MySQL cursor wrappers.Sergey Fedoseev
2017-07-14Replaced Oracle CursorIterator with generator expression.Sergey Fedoseev
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-07-06Fixed #28364 -- Removed redundant table joins in Oracle's ↵Mariusz Felisiak
DatabaseIntrospection.get_relations().
2017-07-06Fixed #28365 -- Unified DatabaseOperations.date_interval_sql() return value ↵Mariusz Felisiak
with similar methods.
2017-07-04Removed obsolete comment about IntegerField introspection on Oracle.Mariusz Felisiak
Obsolete since e9d12bae1e59e51738c11c492c620f56f96106bf.
2017-06-29Fixed #28010 -- Added FOR UPDATE OF support to QuerySet.select_for_update().Ran Benita
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen