summaryrefslogtreecommitdiff
path: root/django/db/backends/mysql/operations.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #28650 -- Added TruncWeek database function.Sigurd Ljødal2018-01-271-0/+10
|
* Fixed #28926 -- Fixed loss of precision of big DurationField values on ↵Sergey Fedoseev2017-12-281-1/+2
| | | | SQLite and MySQL.
* Fixed #28967 -- Prevented Cast to FloatField from rounding to integer on MySQL.Sergey Fedoseev2017-12-271-1/+0
|
* Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope2017-12-111-5/+5
|
* Improved performance of loading DateTimeField on Oracle and MySQL.Sergey Fedoseev2017-12-081-3/+3
|
* Fixed #28552 -- Dropped support for MySQL 5.5.Tim Graham2017-09-251-20/+6
|
* Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't ↵Mariusz Felisiak2017-07-271-0/+1
| | | | | provided. Thanks Tim Graham for the review.
* Allowed database backends to specify data types for Cast().Mariusz Felisiak2017-07-261-0/+9
| | | A small refactor ahead of refs #28371.
* Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵Tim Graham2017-07-201-4/+4
| | | | | | Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa.
* Fixed #28365 -- Unified DatabaseOperations.date_interval_sql() return value ↵Mariusz Felisiak2017-07-061-1/+1
| | | | with similar methods.
* Fixed #28103 -- Added quarter extract, truncation, and lookup.Mads Jensen2017-06-081-0/+10
| | | Thanks Mariusz Felisiak, Tim Graham, and Adam Johnson for review.
* Fixed #26788 -- Fixed QuerySet.update() crash when updating a geometry to ↵Sergey Fedoseev2017-04-101-1/+1
| | | | another one.
* Fixed #27802 -- Unified return value of db backend datetime SQL methods.Mariusz Felisiak2017-02-061-16/+10
|
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-2/+2
|
* Refs #23919 -- Removed six.<various>_types usageClaude Paroz2017-01-181-3/+3
| | | | Thanks Tim Graham and Simon Charette for the reviews.
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
|
* Refs #26285 -- Removed MySQL __search lookup per deprecation timeline.Tim Graham2017-01-171-4/+0
|
* Fixed #25912 -- Added binary left/right shift operators to F expressions.anabelensc2017-01-031-1/+4
| | | | Thanks Mariusz Felisiak for review and MySQL advice.
* Fixed #27681 -- Fixed binary &/| operators for negative values on MySQL.Mariusz Felisiak2017-01-031-3/+4
|
* Fixed #24959 -- Fixed queries using negative timedeltas on MySQL and Oracle.Mariusz Felisiak2016-11-231-2/+1
|
* Fixed #25240 -- Added ExtractWeek and exposed it through the __week lookup.Mads Jensen2016-11-111-0/+6
| | | Thanks to Mariusz Felisiak and Tim Graham for review.
* Fixed #22288 -- Fixed F() expressions with the __range lookup.Matthew Wilkes2016-08-191-0/+8
|
* Fixed #26950 -- Removed obsolete DatabaseOperations SQL methods.Anderson Resende2016-07-271-3/+0
| | | Unused as of 2b039d966f6e61a5ffb5ffac25aa198f9043de3d.
* Fixed #26348 -- Added TruncTime and exposed it through the __time lookup.Simon Charette2016-07-081-0/+5
| | | | Thanks Tim for the review.
* Refs #25774, #26348 -- Allowed Trunc functions to operate with time fields.Simon Charette2016-07-081-0/+12
| | | | Thanks Josh for the amazing testing setup and Tim for the review.
* Fixed E128 flake8 warnings in django/.Tim Graham2016-04-081-1/+2
|
* Fixed #26140 -- Suppressed MySQL warning when inserting binary contentClaude Paroz2016-03-141-0/+3
| | | | Thanks Tim Graham for the review.
* Fixed #26285 -- Deprecated the MySQL-specific __search lookup.Marc Tamlyn2016-03-021-0/+1
|
* Fixed #24793 -- Unified temporal difference support.Simon Charette2016-02-261-0/+18
|
* Fixed #25767 -- Fixed data truncation possibility with ↵George Marshall2015-11-241-2/+2
| | | | Positive(Small)IntegerField on MySQL.
* Fixed #25470 -- Avoided unnecessary, expensive DATETIME typecast on MySQL.Mariusz Felisiak2015-10-211-10/+8
|
* Fixed #24509 -- Added Expression support to SQLInsertCompilerAlex Hill2015-09-221-3/+4
|
* Fixed #9596 -- Added date transform for DateTimeField.Jon Dufresne2015-06-021-13/+12
|
* Fixed #23820 -- Supported per-database time zone.Aymeric Augustin2015-05-171-2/+2
| | | | | | | | | The primary use case is to interact with a third-party database (not primarily managed by Django) that doesn't support time zones and where datetimes are stored in local time when USE_TZ is True. Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ is False used to result in silent data corruption. Now this is an error.
* Renamed value_to_db_xxx to adapt_xxxfield_value.Aymeric Augustin2015-05-171-2/+2
| | | | | This mirrors convert_xxxfield_value nicely, taking advantage of the adapter/converter terminology which is commonly used by DB-API modules.
* Normalized the implementation of get_db_converters.Aymeric Augustin2015-05-171-10/+10
| | | | Put the types in the same order and checked for None consistently.
* Removed global timezone-aware datetime converters.Aymeric Augustin2015-05-171-0/+8
| | | | Refs #23820.
* Fixed #24584 -- Fixed microsecond handling with older MySQLdbJon Dufresne2015-04-061-1/+7
|
* Update converters to take a consistent set of parameters.Marc Tamlyn2015-02-201-3/+3
| | | | | | As suggested by Anssi. This has the slightly strange side effect of passing the expression to Expression.convert_value has the expression passed back to it, but it allows more complex patterns of expressions.
* Fixed #22603 -- Reorganized classes in django.db.backends.Tim Graham2015-01-141-0/+200