{"Entry":{"collection":"func","key":"jsonb-agg","name":"jsonb_agg","aliases":[],"metadata":{"changed_in":["17"],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.5"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"},{"descriptions_changed":false,"doc_overhaul":false,"from":"16","group_changed":null,"signatures":{"added":["jsonb_agg ( anyelement ORDER BY input_sort_columns ) → jsonb"],"removed":["jsonb_agg ( anyelement ) → jsonb"]},"status":"changed","to":"17"}],"content_hash":"5cf2326e34285840ba656949436dde4bfe6fc4e3e55b107b1c41df00372cf8d5","derived_content_hash":"299f08b9b22a8b54430cefb6d58d8348bcabd7490feae913ac662b68ed209313","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:fa6cf5cbfb234b7a17b9c2fa20baab7618a56c6af23937cafa89e22077cde715","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"9.5","group":"aggregate","group_label":"Aggregate Functions","groups":["aggregate"],"imported_at":"2026-09-14T21:49:48.857565+08:00","last_version":"20","name":"jsonb_agg","name_key":"jsonb_agg","position":21024,"present_in":["9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"2026-09-14T13:14:25.684213+00:00@99e6866c","receipt_sha256":"f69892df8d24fc351369c74ca0d94e8644de6dac6ba9e8a4f936d17a42b95496","repair":"wiki-repair-20261023"},"signature":"jsonb_agg ( anyelement ORDER BY input_sort_columns ) → jsonb","signature_count":1,"slug":"jsonb-agg","source_rev":"wiki-repair-20261023:fa6cf5cbfb234b7a17b9c2fa20baab7618a56c6af23937cafa89e22077cde715","summary":"Collects all the input values, including nulls, into a JSON array.","summary_zh":""}},"Definition":{"Collection":"func","Key":"jsonb-agg","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"jsonb-agg","SourceRevision":"wiki-repair-20261023:fa6cf5cbfb234b7a17b9c2fa20baab7618a56c6af23937cafa89e22077cde715","Facts":{"description":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per to_json or to_jsonb.","description_html":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e or \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e.","description_zh":"将所有输入值（包括空值）收集到一个 JSON 数组中。根据 to_json 或 to_jsonb 将值转换为 JSON。","description_zh_html":"将所有输入值（包括空值）收集到一个 JSON 数组中。根据 \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e 或 \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e 将值转换为 JSON。","doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-aggregate.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","version":"18.7"},{"file":"functions-aggregate.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"0bf7506d27b71666fc74840a21a8f77c8a92735174f1d05033865961722e457c","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"aggregate","group_label":"聚合函数","lang":"en","layout":"table-new","pages":["functions-aggregate.html"],"prose_only":false,"signatures":[{"description":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per to_json or to_jsonb.","description_html":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e or \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e.","description_zh":"将所有输入值（包括空值）收集到一个 JSON 数组中。根据 to_json 或 to_jsonb 将值转换为 JSON。","description_zh_html":"将所有输入值（包括空值）收集到一个 JSON 数组中。根据 \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e 或 \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e 将值转换为 JSON。","examples":[],"html":"\u003ccode class=\"function\"\u003ejsonb_agg\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyelement\u003c/code\u003e \u003ccode class=\"literal\"\u003eORDER BY\u003c/code\u003e \u003ccode class=\"literal\"\u003einput_sort_columns\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ejsonb\u003c/code\u003e","returns":"jsonb","text":"jsonb_agg ( anyelement ORDER BY input_sort_columns ) → jsonb","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-aggregate.html","sha256":"68da7af09e2749a855188bbbff99ae036fc7eece4e19b8e048baffd28aa3ca59"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","sha256":"31d3dcd36ef353484b4b3535f9f0d1cc239c3910146257fe5178f99b90b501e2","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"jsonb-agg","SourceDatabase":"center","Version":"18","Locale":"en","Title":"jsonb_agg","Summary":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per to_json or to_jsonb.","BodyHTML":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per \u003ccode\u003eto_json\u003c/code\u003e or \u003ccode\u003eto_jsonb\u003c/code\u003e.","SourceRevision":"wiki-repair-20261023:fa6cf5cbfb234b7a17b9c2fa20baab7618a56c6af23937cafa89e22077cde715","ContentHash":"4d8b698310ccea2e4a8e90eb52d63c588435425a92bbc69dfaa6926924b57413","Payload":{"description":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per to_json or to_jsonb.","description_html":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e or \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e.","signatures":[{"description":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per to_json or to_jsonb.","description_html":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e or \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e.","description_zh":"将所有输入值（包括空值）收集到一个 JSON 数组中。根据 to_json 或 to_jsonb 将值转换为 JSON。","description_zh_html":"将所有输入值（包括空值）收集到一个 JSON 数组中。根据 \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e 或 \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e 将值转换为 JSON。","examples":[],"html":"\u003ccode class=\"function\"\u003ejsonb_agg\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyelement\u003c/code\u003e \u003ccode class=\"literal\"\u003eORDER BY\u003c/code\u003e \u003ccode class=\"literal\"\u003einput_sort_columns\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ejsonb\u003c/code\u003e","returns":"jsonb","text":"jsonb_agg ( anyelement ORDER BY input_sort_columns ) → jsonb","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"d0bcdc133a6d3930a4f078b88112f7b2c2ceddedb08c51e5ec538e4bf3652b8f","Text":"jsonb_agg ( anyelement ORDER BY input_sort_columns ) → jsonb","Returns":"jsonb","Payload":{"description":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per to_json or to_jsonb.","description_html":"Collects all the input values, including nulls, into a JSON array. Values are converted to JSON as per \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e or \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e.","description_zh":"将所有输入值（包括空值）收集到一个 JSON 数组中。根据 to_json 或 to_jsonb 将值转换为 JSON。","description_zh_html":"将所有输入值（包括空值）收集到一个 JSON 数组中。根据 \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e 或 \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e 将值转换为 JSON。","examples":[],"html":"\u003ccode class=\"function\"\u003ejsonb_agg\u003c/code\u003e ( \u003ccode class=\"type\"\u003eanyelement\u003c/code\u003e \u003ccode class=\"literal\"\u003eORDER BY\u003c/code\u003e \u003ccode class=\"literal\"\u003einput_sort_columns\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ejsonb\u003c/code\u003e","returns":"jsonb","text":"jsonb_agg ( anyelement ORDER BY input_sort_columns ) → jsonb","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
