mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #27767 -- Added distinct argument to ArrayAgg.
This commit is contained in:
@@ -22,10 +22,17 @@ General-purpose aggregation functions
|
||||
``ArrayAgg``
|
||||
------------
|
||||
|
||||
.. class:: ArrayAgg(expression, **extra)
|
||||
.. class:: ArrayAgg(expression, distinct=False, **extra)
|
||||
|
||||
Returns a list of values, including nulls, concatenated into an array.
|
||||
|
||||
.. attribute:: distinct
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
An optional boolean argument that determines if array values
|
||||
will be distinct. Defaults to ``False``.
|
||||
|
||||
``BitAnd``
|
||||
----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user