Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed #30027 -- Errored out on Window function usage if unsupported. | Simon Charette | 2019-02-09 | 1 | -0/+3 | |
| | ||||||
* | Simplified Window.as_sql(). | Sergey Fedoseev | 2019-02-09 | 1 | -2/+2 | |
| | ||||||
* | Fixed #30099 -- Fixed invalid SQL when filtering a Subquery by an aggregate. | Nasir Hussain | 2019-01-15 | 1 | -0/+1 | |
| | ||||||
* | Removed unnecessary string formatting of strings. | Jon Dufresne | 2019-01-14 | 1 | -1/+1 | |
| | ||||||
* | Fixed #29851 -- Fixed crash of annotations with window expressions in Subquery. | Mariusz Felisiak | 2018-12-27 | 1 | -9/+9 | |
| | ||||||
* | Moved make_hashable() to django.utils and added tests. | aspalding | 2018-10-17 | 1 | -10/+1 | |
| | ||||||
* | Fixed #29745 -- Based Expression equality on detailed initialization signature. | Simon Charette | 2018-10-02 | 1 | -22/+29 | |
| | | | | | | | The old implementation considered objects initialized with an equivalent signature different if some arguments were provided positionally instead of as keyword arguments. Refs #11964, #26167. | |||||
* | Refs #28909 -- Simplifed code using unpacking generalizations. | Sergey Fedoseev | 2018-09-28 | 1 | -2/+1 | |
| | ||||||
* | Removed unused function argument from Window.as_sql(). | Mariusz Felisiak | 2018-08-20 | 1 | -1/+1 | |
| | | | Unused since its introduction in d549b8805053d4b064bf492ba90e90db5d7e2a6b. | |||||
* | Fixed #11964 -- Added support for database check constraints. | Ian Foote | 2018-07-10 | 1 | -3/+39 | |
| | ||||||
* | Fixed #29330 -- Fixed crash when pickling BaseExpression. | Daniel Miller | 2018-04-16 | 1 | -0/+5 | |
| | | | | Regression in cfff2af02be40106d4759cc6f8bfa476ce82421c. | |||||
* | Fixed #29195 -- Fixed Exists.output_field resolution on single-valued queries. | Simon Charette | 2018-03-08 | 1 | -2/+5 | |
| | | | | | | | | | | | | | The Subquery class which Exists inherits from defaulted to using single-valued querie's field if no output_field was explicitly specified on initialization which was bypassing the Exists.output_field defined at the class level. Moving Subquery's dynamic output_field resolution to _resolve_output_field should make sure the fallback logic is only performed if required. Regression in 08654a99bbdd09049d682ae57cc94241534b29f0. Thanks Oli Warner for the detailed report. | |||||
* | Fixed #29172 -- Fixed crash with Window expression in a subquery. | Tomáš Ehrlich | 2018-03-01 | 1 | -2/+4 | |
| | ||||||
* | Fixed #29166 -- Fixed crash in When() expression with a list argument. | Mariusz Felisiak | 2018-02-28 | 1 | -1/+6 | |
| | | | | | Thanks Matthew Pava for the report and Tim Graham and Carlton Gibson for reviews. Regression in 19b2dfd1bfe7fd716dd3d8bfa5f972070d83b42f. | |||||
* | Fixed #29142 -- Fixed crash when OuterRef is used with an operator. | Matthew Schinckel | 2018-02-23 | 1 | -0/+3 | |
| | ||||||
* | Fixed #29118 -- Fixed crash with QuerySet.order_by(Exists(...)). | Raphael Gaschignard | 2018-02-10 | 1 | -2/+2 | |
| | ||||||
* | Fixed #29066 -- Allowed negating query expressions. | priyanshsaxena | 2018-01-31 | 1 | -0/+3 | |
| | ||||||
* | Fixed #28930 -- Simplified code with any() and all(). | Дилян Палаузов | 2017-12-26 | 1 | -12/+3 | |
| | ||||||
* | Fixed #28731 -- Added an error message when using an empty Q() in a When ↵ | Tim Martin | 2017-12-26 | 1 | -0/+2 | |
| | | | | | | expression. Otherwise it generates invalid SQL. | |||||
* | Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. | Nick Pope | 2017-12-11 | 1 | -8/+5 | |
| | ||||||
* | Refs #27849 -- Removed empty Q() hack in filtered Aggregate.as_sql(). | Simon Charette | 2017-12-08 | 1 | -1/+1 | |
| | | | | | This required allowing WhereNode to be provided as When(condition). This was made possible by cf12257db23fa248c89a3da3f718aa01a50ca659. | |||||
* | Fixed #28860 -- Removed unnecessary len() calls. | Дилян Палаузов | 2017-12-04 | 1 | -2/+2 | |
| | ||||||
* | Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered ↵ | Raphael Michel | 2017-11-27 | 1 | -0/+1 | |
| | | | | subquery that uses nulls_first/nulls_last. | |||||
* | Fixed #28689 -- Fixed unquoted table names in Subquery SQL when using OuterRef. | Mariusz Felisiak | 2017-10-25 | 1 | -1/+1 | |
| | | | Regression in f48bc7c3dbd204eefb3c19016b1e4906ac26bee3. | |||||
* | Fixed #28722 -- Made QuerySet.reverse() affect nulls_first/nulls_last. | Tomer Chachamu | 2017-10-21 | 1 | -0/+3 | |
| | ||||||
* | Merged hash() calls. | Mariusz Felisiak | 2017-09-28 | 1 | -8/+2 | |
| | | | Thanks Simon Charette for the review. | |||||
* | Fixed #27857 -- Dropped support for Python 3.4. | Tim Graham | 2017-09-25 | 1 | -6/+0 | |
| | ||||||
* | Fixed #26608 -- Added support for window expressions (OVER clause). | Mads Jensen | 2017-09-18 | 1 | -0/+198 | |
| | | | | | 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. | |||||
* | Fixed #28492 -- Defined default output_field of expressions at the class level. | Simon Charette | 2017-09-11 | 1 | -7/+5 | |
| | | | | | | This wasn't possible when settings were accessed during Field initialization time as our test suite setup script was triggering imports of expressions before settings were configured. | |||||
* | Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." | Tim Graham | 2017-09-07 | 1 | -2/+3 | |
| | | | | This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda because try/except performs better. | |||||
* | Refs #28459 -- Improved performance of BaseExpression.convert_value(). | Sergey Fedoseev | 2017-08-11 | 1 | -9/+22 | |
| | ||||||
* | Replaced typecast_decimal() with decimal.Decimal(). | Sergey Fedoseev | 2017-08-11 | 1 | -2/+2 | |
| | ||||||
* | Refs #18247 -- Fixed filtering on ↵ | Sergey Fedoseev | 2017-08-10 | 1 | -9/+15 | |
| | | | | CombinedExpression(output_field=DecimalField()) annotation on SQLite. | |||||
* | Removed unused _combine() node argument from various combinable classes. | Mariusz Felisiak | 2017-08-02 | 1 | -1/+1 | |
| | | | | | Unused since f59fd15c4928caf3dfcbd50f6ab47be409a43b01 (Combinable) and since its introduction in 2d877da85526bad0dad7fd6b1d56b1f924c0116a (SearchVectorCombinable/SearchQueryCombinable/SearchQuery). | |||||
* | Stopped setting BaseExpression.copied on copy(). | Simon Charette | 2017-07-21 | 1 | -3/+1 | |
| | | | | Unused since its introduction in f59fd15c4928caf3dfcbd50f6ab47be409a43b01. | |||||
* | Sorted display of options in Func.__repr__(). | orf | 2017-07-20 | 1 | -1/+1 | |
| | ||||||
* | Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵ | Tim Graham | 2017-07-20 | 1 | -1/+1 | |
| | | | | | | Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa. | |||||
* | Allowed Func subclasses to add kwargs to __repr__(). | Mariusz Felisiak | 2017-07-17 | 1 | -1/+6 | |
| | | | Thanks Tim Graham for the review. | |||||
* | Fixed #28394 -- Allowed setting BaseExpression.output_field (renamed from ↵ | Sergey Fedoseev | 2017-07-14 | 1 | -23/+25 | |
| | | | | _output_field). | |||||
* | Fixed #28382 -- Prevented BaseExpression._output_field from being set if ↵ | Sergey Fedoseev | 2017-07-11 | 1 | -13/+6 | |
| | | | | _resolve_output_field() fails. | |||||
* | Fixed #28365 -- Unified DatabaseOperations.date_interval_sql() return value ↵ | Mariusz Felisiak | 2017-07-06 | 1 | -1/+1 | |
| | | | | with similar methods. | |||||
* | Removed obsolete Query.tables attribute. | Anssi Kääriäinen | 2017-06-29 | 1 | -1/+1 | |
| | | | | Obsolete since Query.alias_map became an OrderedDict (refs #26522). | |||||
* | Fixed #27818 -- Replaced try/except/pass with contextlib.suppress(). | Mads Jensen | 2017-06-28 | 1 | -3/+2 | |
| | ||||||
* | Fixed #28199 -- Fixed Subquery generating unnecessary/invalid CAST. | Tim Graham | 2017-05-30 | 1 | -1/+0 | |
| | | | Thanks Simon Charette for the fix. | |||||
* | Refs #18247 -- Fixed SQLite QuerySet filtering on decimal result of Least ↵ | Sergey Fedoseev | 2017-03-29 | 1 | -2/+2 | |
| | | | | and Greatest. | |||||
* | Fixed #27862 -- Fixed incorrectly quoted table aliases in Subquery SQL. | Matthew Schinckel | 2017-03-01 | 1 | -1/+6 | |
| | | | | | | | Add aliases from resolved querysets to the parent query's external aliases to prevent those aliases from being quoted. Thanks to Vasily Stepanov for the report and Tim Graham for the review. | |||||
* | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | 2017-02-28 | 1 | -34/+16 | |
| | ||||||
* | Refs #11964, #26167 -- Made Expressions deconstructible. | Ian Foote | 2017-02-23 | 1 | -0/+36 | |
| | ||||||
* | Refs #23919 -- Used yield from. | Vytis Banaitis | 2017-02-23 | 1 | -2/+1 | |
| | ||||||
* | Fixed #27828 -- Fixed a crash when subtracting Integer/DurationField from ↵ | Vytis Banaitis | 2017-02-16 | 1 | -1/+1 | |
| | | | | DateField on Oracle/PostgreSQL. |