diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 3802fbcbb0..9c2708c09b 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -10282,7 +10282,7 @@ table2-mapping Expands a JSON array to a set of JSON values. - json_array_elements('[1,true, [2,false]]') + SELECT * FROM json_array_elements('[1,true, [2,false]]') value @@ -10300,11 +10300,11 @@ table2-mapping json_array_elements_text(json) - SETOF json + SETOF text Expands a JSON array to a set of text values. - json_array_elements_text('["foo", "bar"]') + SELECT * FROM json_array_elements_text('["foo", "bar"]') value