diff options
Diffstat (limited to 'docs/ref/contrib/postgres')
| -rw-r--r-- | docs/ref/contrib/postgres/aggregates.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/ref/contrib/postgres/aggregates.txt b/docs/ref/contrib/postgres/aggregates.txt index 31202d5304..c309dcad14 100644 --- a/docs/ref/contrib/postgres/aggregates.txt +++ b/docs/ref/contrib/postgres/aggregates.txt @@ -114,10 +114,17 @@ General-purpose aggregation functions ``JSONBAgg`` ------------ -.. class:: JSONBAgg(expressions, filter=None, ordering=(), **extra) +.. class:: JSONBAgg(expressions, distinct=False, filter=None, ordering=(), **extra) Returns the input values as a ``JSON`` array. + .. attribute:: distinct + + .. versionadded:: 3.2 + + An optional boolean argument that determines if array values will be + distinct. Defaults to ``False``. + .. attribute:: ordering .. versionadded:: 3.2 |
