Commit 51683feb authored by Bruce Momjian's avatar Bruce Momjian

doc: move the mention of aggregate JSON functions up in section

It was previously easily overlooked at the end of several tables.

Reported-by: Alex Denman

Discussion: https://postgr.es/m/166335888474.659.16897487975376230364@wrigleys.postgresql.org

Backpatch-through: 10
parent b661aea7
...@@ -14728,6 +14728,12 @@ table2-mapping ...@@ -14728,6 +14728,12 @@ table2-mapping
<type>jsonb</type>, though not for <type>json</type>. The comparison <type>jsonb</type>, though not for <type>json</type>. The comparison
operators follow the ordering rules for B-tree operations outlined in operators follow the ordering rules for B-tree operations outlined in
<xref linkend="json-indexing"/>. <xref linkend="json-indexing"/>.
See also <xref linkend="functions-aggregate"/> for the aggregate
function <function>json_agg</function> which aggregates record
values as JSON, the aggregate function
<function>json_object_agg</function> which aggregates pairs of values
into a JSON object, and their <type>jsonb</type> equivalents,
<function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
</para> </para>
<table id="functions-json-op-table"> <table id="functions-json-op-table">
...@@ -16183,15 +16189,6 @@ table2-mapping ...@@ -16183,15 +16189,6 @@ table2-mapping
</tbody> </tbody>
</tgroup> </tgroup>
</table> </table>
<para>
See also <xref linkend="functions-aggregate"/> for the aggregate
function <function>json_agg</function> which aggregates record
values as JSON, the aggregate function
<function>json_object_agg</function> which aggregates pairs of values
into a JSON object, and their <type>jsonb</type> equivalents,
<function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
</para>
</sect2> </sect2>
<sect2 id="functions-sqljson-path"> <sect2 id="functions-sqljson-path">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment