mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #26327 -- Added JsonAgg to contrib.postgres.
Thanks Tim Graham for review.
This commit is contained in:
@@ -58,6 +58,15 @@ General-purpose aggregation functions
|
||||
Returns ``True`` if at least one input value is true, ``None`` if all
|
||||
values are null or if there are no values, otherwise ``False``.
|
||||
|
||||
``JsonAgg``
|
||||
-----------
|
||||
|
||||
.. class:: JsonAgg(expressions, **extra)
|
||||
|
||||
.. versionadded:: 1.11
|
||||
|
||||
Returns the input values as a ``JSON`` array.
|
||||
|
||||
``StringAgg``
|
||||
-------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user