diff options
| author | Artur Beltsov <artur1998g@gmail.com> | 2020-11-04 16:30:47 +0500 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-11-04 21:22:54 +0100 |
| commit | 18c8ced81e4a6e093c732f8cded3b16426d16952 (patch) | |
| tree | 8e46d2a055bc61bc80ee20c5c9afbc6b4bfd43e5 /docs/ref/contrib/postgres | |
| parent | c36075ac1dddfa986340b1a5e15fe48833322372 (diff) | |
Fixed #32169 -- Added distinct support to JSONBAgg.
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 |
