We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent991659d commit2013e5eCopy full SHA for 2013e5e
doc/src/sgml/func.sgml
@@ -10486,7 +10486,9 @@ table2-mapping
10486
<para>
10487
See also <xref linkend="functions-aggregate"> about the aggregate
10488
function <function>json_agg</function> which aggregates record
10489
- values as JSON efficiently.
+ values as JSON efficiently, and the aggregate function
10490
+ <function>json_object_agg</function>, which aggregates pairs of values
10491
+ into a JSON object.
10492
</para>
10493
</sect1>
10494
@@ -12077,6 +12079,7 @@ SELECT count(*) FROM sometable;
12077
12079
12078
12080
The aggregate functions <function>array_agg</function>,
12081
<function>json_agg</function>,
12082
+ <function>json_object_agg</function>,
12083
<function>string_agg</function>,
12084
and <function>xmlagg</function>, as well as similar user-defined
12085
aggregate functions, produce meaningfully different result values