diff options
-rw-r--r-- | doc/src/sgml/func.sgml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 6f3094656c2..c6c3bf80171 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -12230,15 +12230,15 @@ NULL baz</literallayout>(3 rows)</entry> <indexterm> <primary>json_agg</primary> </indexterm> - <function>json_agg(<replaceable class="parameter">record</replaceable>)</function> + <function>json_agg(<replaceable class="parameter">expression</replaceable>)</function> </entry> <entry> - <type>record</type> + <type>expression</type> </entry> <entry> <type>json</type> </entry> - <entry>aggregates records as a JSON array of objects</entry> + <entry>aggregates values as a JSON array</entry> </row> <row> @@ -12246,15 +12246,15 @@ NULL baz</literallayout>(3 rows)</entry> <indexterm> <primary>jsonb_agg</primary> </indexterm> - <function>jsonb_agg(<replaceable class="parameter">record</replaceable>)</function> + <function>jsonb_agg(<replaceable class="parameter">expression</replaceable>)</function> </entry> <entry> - <type>record</type> + <type>expression</type> </entry> <entry> <type>jsonb</type> </entry> - <entry>aggregates records as a JSON array of objects</entry> + <entry>aggregates values as a JSON array</entry> </row> <row> |