{"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","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"],"signature":"jsonb_agg ( anyelement ORDER BY input_sort_columns ) → jsonb","signature_count":1,"slug":"jsonb-agg","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","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":"2026-09-14T13:14:25.684213+00:00@99e6866c","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":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","slug":"18"},"group":"aggregate","group_label":"Aggregate Functions","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":"","description_zh_html":"","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":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"jsonb-agg","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"jsonb_agg","Summary":"将所有输入值（包括空值）收集到一个JSON数组中。根据to_json或to_jsonb将值转换为JSON。","BodyHTML":"将所有输入值（包括空值）收集到一个JSON数组中。根据\u003ccode\u003eto_json\u003c/code\u003e或\u003ccode\u003eto_jsonb\u003c/code\u003e将值转换为JSON。\u003cpre\u003ejsonb_agg ( anyelement ORDER BY input_sort_columns ) → jsonb\u003c/pre\u003e将所有输入值（包括空值）收集到一个JSON数组中。根据\u003ccode\u003eto_json\u003c/code\u003e或\u003ccode\u003eto_jsonb\u003c/code\u003e将值转换为JSON。","SourceRevision":"ca936764","ContentHash":"5f07c22b47030110a3df680d5595238221b5239786d27905298fb07074cb3f5b","Payload":{"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。","signatures":[{"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。","returns":"jsonb","text":"jsonb_agg ( anyelement ORDER BY input_sort_columns ) → jsonb","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":"","description_zh_html":"","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":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
