Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #470 -- Added support for database defaults on fields. | Ian Foote | 2023-05-12 | 1 | -0/+1 |
| | | | | | | | | Special thanks to Hannes Ljungberg for finding multiple implementation gaps. Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for reviews. | ||||
* | Fixed #33308 -- Added support for psycopg version 3. | Daniele Varrazzo | 2022-12-15 | 1 | -1/+9 |
| | | | | | | | Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | 2022-02-07 | 1 | -1/+2 |
| | |||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -41/+59 |
| | |||||
* | Fixed #33141 -- Renamed Expression.empty_aggregate_value to ↵ | David Wobrock | 2021-09-29 | 1 | -2/+2 |
| | | | | empty_result_set_value. | ||||
* | Refs #26430 -- Re-introduced empty aggregation optimization. | Simon Charette | 2021-07-02 | 1 | -0/+8 |
| | | | | | | | | | | | | The introduction of the Expression.empty_aggregate_value interface allows the compilation stage to enable the EmptyResultSet optimization if all the aggregates expressions implement it. This also removes unnecessary RegrCount/Count.convert_value() methods. Disabling the empty result set aggregation optimization when it wasn't appropriate prevented None returned for a Count aggregation value. Thanks Nick Pope for the review. | ||||
* | Refs #32858, Refs #32392 -- Restored using :: shortcut syntax in Cast() on ↵ | Mariusz Felisiak | 2021-06-22 | 1 | -0/+6 |
| | | | | | | | PostgreSQL. This partly reverts commit fdfbc66331292def201c9344e3cd29fbcbcd076a unnecessary since b69b0c3fe871167a0ca01bb439508e335143801f. | ||||
* | Fixed #32392 -- Fixed ExclusionConstraint crash with Cast() in expressions. | Tilman Koschnick | 2021-01-29 | 1 | -6/+0 |
| | |||||
* | Fixed #32179 -- Added JSONObject database function. | Artur Beltsov | 2020-12-02 | 1 | -0/+42 |
| | |||||
* | Fixed #21181 -- Added Collate database function. | Tom Carrick | 2020-08-11 | 1 | -0/+18 |
| | | | | Thanks Simon Charette for reviews. | ||||
* | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | 2020-05-08 | 1 | -1/+14 |
| | | | | | | | | | | | Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | ||||
* | Simplified overriding source expressions in some database functions. | Nick Pope | 2019-01-14 | 1 | -7/+3 |
| | |||||
* | Refs #28643 -- Added NullIf database function. | Mads Jensen | 2019-01-10 | 1 | -1/+12 |
| | | | | Thanks Nick Pope, Mariusz Felisiak, and Tim Graham for reviews. | ||||
* | Simplified some imports for database functions. | Nick Pope | 2019-01-08 | 1 | -1/+1 |
| | | | Used more specific modules to reduce the risk of circular imports. | ||||
* | Fixed #29767 -- Made date-related casts work on SQLite | Claude Paroz | 2018-10-01 | 1 | -0/+14 |
| | | | | Thanks Rémy Hubscher for the report and Tim Graham and Simon Charette for the reviews. | ||||
* | Fixed #29048 -- Added **extra_context to database function as_vendor() methods. | priyanshsaxena | 2018-08-23 | 1 | -11/+11 |
| | |||||
* | Fixed #28857 -- Fixed invalid SQL when using Cast with complex expressions ↵ | hayashi | 2018-01-17 | 1 | -1/+3 |
| | | | | on PostgreSQL. | ||||
* | Fixed #28967 -- Prevented Cast to FloatField from rounding to integer on MySQL. | Sergey Fedoseev | 2017-12-27 | 1 | -0/+5 |
| | |||||
* | Refs #28643 -- Reorganized database functions. | Mariusz Felisiak | 2017-10-13 | 1 | -0/+84 |
Thanks Tim Graham for the review. |