summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
AgeCommit message (Expand)Author
2020-05-21Fixed #30375 -- Added FOR NO KEY UPDATE support to QuerySet.select_for_update...Manuel Weitzman
2020-05-14Fixed #31568 -- Fixed alias reference when aggregating over multiple subqueries.Simon Charette
2020-05-14Fixed #31566 -- Fixed aliases crash when chaining values()/values_list() afte...Simon Charette
2020-04-06Fixed #31426 -- Added proper field validation to QuerySet.order_by().Simon Charette
2020-04-06Refs #7098 -- Deprecated passing raw column aliases to order_by().Simon Charette
2020-04-06Fixed #31420 -- Fixed crash when filtering subquery annotation against a Simp...Hasan Ramezani
2020-03-25Fixed #31377 -- Disabled grouping by aliases on QuerySet.values()/values_list...Hasan Ramezani
2020-01-15Refs #31136 -- Made QuerySet.values()/values_list() group only by selected an...Mariusz Felisiak
2020-01-04Fixed #31136 -- Disabled grouping by aliases on QuerySet.values()/values_list().Mariusz Felisiak
2019-12-23Fixed #31109 -- Disabled grouping by aliases on QuerySet.exists().Simon Charette
2019-12-19Fixed #31094 -- Included columns referenced by subqueries in GROUP BY on aggr...Simon Charette
2019-12-10Used Signature API instead of deprecated inspect.getcallargs().Baptiste Mispelon
2019-12-06Made Query.check_filterable() use bool by default instead of str.Alex Aktsipetrov
2019-12-06Fixed #31060 -- Reallowed window expressions to be used in conditions outside...Alex Aktsipetrov
2019-11-21Refs #25367 -- Made Query.build_filter() raise TypeError on non-conditional e...Simon Charette
2019-11-21Fixed #30484 -- Added conditional expressions support to CheckConstraint.Simon Charette
2019-11-21Refs #25367 -- Moved conditional expression wrapping to the Exact lookup.Simon Charette
2019-11-21Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols).Simon Charette
2019-11-13Fixed #30971 -- Prevented Query.resolve_lookup_value() from coercing list val...George Marshall
2019-09-24Fixed #30796 -- Prevented select_related() from mutating a queryset on chaining.Simon Charette
2019-09-02Fixed #30739 -- Fixed exclusion of multi-valued lookup against outer rhs.Simon Charette
2019-08-29Fixed #25367 -- Allowed boolean expressions in QuerySet.filter() and exclude().Matthew Schinckel
2019-08-16Fixed #30687 -- Fixed using of OuterRef() expressions in distance lookups.Andrew Brown
2019-08-02Fixed #30668 -- Made QuerySet.filter() raise NotSupportedError if any of sour...aaktsipetrov
2019-07-25Added Query.is_sliced property.Mariusz Felisiak
2019-06-28Fixed #28408 -- Added error message when updating with annotated expressions ...can
2019-06-19Fixed #29834 -- Fixed column mismatch crash with QuerySet.values()/values_lis...can
2019-05-07Fixed #30349 -- Fixed QuerySet.exclude() on FilteredRelation.Rob
2019-04-30Fixed #30412 -- Fixed crash when adding check constraints with OR'ed conditio...can
2019-04-15Refs #23758 -- Used RecursionError instead of RuntimeError to raise nested su...Simon Charette
2019-04-15Refs #27149 -- Based recursive nested subquery detection on sys.getrecursionl...Simon Charette
2019-03-23Fixed #30246 -- Reused annotation aliases references in aggregation filters.Simon Charette
2019-03-23Refs #30188 -- Avoided GROUP BY when aggregating over non-aggregates.Simon Charette
2019-03-23Refs #30188 -- Prevented double annotation of subquery when aggregated over.Simon Charette
2019-03-23Fixed #30188 -- Fixed a crash when aggregating over a subquery annotation.Simon Charette
2019-03-23Fixed #21703 -- Fixed a crash when excluding a related field with a F().Simon Charette
2019-03-21Removed obsolete Lookup hook to prepare rhs expressions.Simon Charette
2019-03-21Refs #27149, #29542 -- Simplified subquery parentheses wrapping logic.Simon Charette
2019-03-21Refs #27149 -- Moved subquery expression resolving to Query.Simon Charette
2019-03-21Refs #30158 -- Added alias argument to Expression.get_group_by_cols().Simon Charette
2019-02-13Fixed #30184 -- Removed ellipsis characters from shell output strings.Dan Davis
2019-02-06Fixed #30159 -- Removed unneeded use of OrderedDict.Nick Pope
2019-01-16Fixed #30044 -- Raised a FieldError on inherited field update attempts.Simon Charette
2018-11-21Fixed #29949 -- Refactored db introspection identifier converters.Mariusz Felisiak
2018-10-08Refs #27795 -- Removed force_text() usage in db/models/sql/query.py.Jon Dufresne
2018-10-01Fixed #29804 -- Added 'did you mean' suggestions for unsupported lookup error.Abhinav Patil
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2018-09-08Fixed #29727 -- Made nonexistent joins in F() raise FieldError.Alexander Holmbäck
2018-08-22Refs #29654 -- Replaced three dots with ellipsis character in output strings.Claude Paroz
2018-07-18Removed duplicate words in various comments.Mariusz Felisiak