mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Fixed #29317 -- Doc'd filter argument in contrib.postgres aggregates.
This commit is contained in:
parent
7056a4dd8e
commit
926fa7116f
@ -16,6 +16,11 @@ These functions are described in more detail in the `PostgreSQL docs
|
||||
>>> SomeModel.objects.aggregate(arr=ArrayAgg('somefield'))
|
||||
{'arr': [0, 1, 2]}
|
||||
|
||||
.. admonition:: Common aggregate options
|
||||
|
||||
All aggregates have the :ref:`filter <aggregate-filter>` keyword
|
||||
argument.
|
||||
|
||||
General-purpose aggregation functions
|
||||
=====================================
|
||||
|
||||
|
@ -3315,6 +3315,8 @@ of the return value
|
||||
``output_field`` if all fields are of the same type. Otherwise, you
|
||||
must provide the ``output_field`` yourself.
|
||||
|
||||
.. _aggregate-filter:
|
||||
|
||||
``filter``
|
||||
~~~~~~~~~~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user