mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #35586 -- Added support for set-returning database functions.
Aggregation optimization didn't account for not referenced set-returning annotations on Postgres. Co-authored-by: Simon Charette <charette.s@gmail.com>
This commit is contained in:
@@ -218,6 +218,10 @@ Models
|
||||
* Added support for validation of model constraints which use a
|
||||
:class:`~django.db.models.GeneratedField`.
|
||||
|
||||
* The new :attr:`.Expression.set_returning` attribute specifies that the
|
||||
expression contains a set-returning function, enforcing subquery evaluation.
|
||||
This is necessary for many Postgres set-returning functions.
|
||||
|
||||
Requests and Responses
|
||||
~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user