{"Entry":{"collection":"func","key":"jsonb-object-agg","name":"jsonb_object_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":true,"doc_overhaul":false,"from":"15","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"16"},{"descriptions_changed":false,"doc_overhaul":false,"from":"16","group_changed":null,"signatures":{"added":["jsonb_object_agg ( key \"any\", value \"any\" ORDER BY input_sort_columns ) → jsonb"],"removed":["jsonb_object_agg ( key \"any\", value \"any\" ) → jsonb"]},"status":"changed","to":"17"}],"content_hash":"fa35d1f7c298b8192187fef3af66643e7c8b5c354c9a1deb3ee270be2e4e2318","first_version":"9.5","group":"aggregate","group_label":"Aggregate Functions","groups":["aggregate"],"imported_at":"2026-09-14T21:49:48.858599+08:00","last_version":"20","name":"jsonb_object_agg","name_key":"jsonb_object_agg","position":21026,"present_in":["9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"jsonb_object_agg ( key \"any\", value \"any\" ORDER BY input_sort_columns ) → jsonb","signature_count":1,"slug":"jsonb-object-agg","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"Collects all the key/value pairs into a JSON object.","summary_zh":""}},"Definition":{"Collection":"func","Key":"jsonb-object-agg","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"jsonb-object-agg","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"Collects all the key/value pairs into a JSON object. Key arguments are coerced to text; value arguments are converted as per to_json or to_jsonb. Values can be null, but keys cannot.","description_html":"Collects all the key/value pairs into a JSON object. Key arguments are coerced to text; value arguments are converted as per \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e or \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e. Values can be null, but keys cannot.","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 key/value pairs into a JSON object. Key arguments are coerced to text; value arguments are converted as per to_json or to_jsonb. Values can be null, but keys cannot.","description_html":"Collects all the key/value pairs into a JSON object. Key arguments are coerced to text; value arguments are converted as per \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e or \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e. Values can be null, but keys cannot.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ejsonb_object_agg\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"any\"\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_object_agg ( key \"any\", value \"any\" 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-object-agg","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"jsonb_object_agg","Summary":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照to_json或to_jsonb进行转换。值可以为空，但键不能（为空）。","BodyHTML":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照\u003ccode\u003eto_json\u003c/code\u003e或\u003ccode\u003eto_jsonb\u003c/code\u003e进行转换。值可以为空，但键不能（为空）。\u003cpre\u003ejsonb_object_agg ( key \u0026#34;any\u0026#34;, value \u0026#34;any\u0026#34; ORDER BY input_sort_columns ) → jsonb\u003c/pre\u003e将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照\u003ccode\u003eto_json\u003c/code\u003e或\u003ccode\u003eto_jsonb\u003c/code\u003e进行转换。值可以为空，但键不能（为空）。","SourceRevision":"ca936764","ContentHash":"9065008c88d06aa377fa62a925b659670cbc41255e32b17f1f636290487340c9","Payload":{"description_zh":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照to_json或to_jsonb进行转换。值可以为空，但键不能（为空）。","description_zh_html":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照\u003ccode class=\"function\"\u003eto_json\u003c/code\u003e或\u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e进行转换。值可以为空，但键不能（为空）。","signatures":[{"description_zh":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照to_json或to_jsonb进行转换。值可以为空，但键不能（为空）。","description_zh_html":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照\u003ccode class=\"function\"\u003eto_json\u003c/code\u003e或\u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e进行转换。值可以为空，但键不能（为空）。","returns":"jsonb","text":"jsonb_object_agg ( key \"any\", value \"any\" 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":"d4ea5dcdf167aebf75a5c8eb49b3fe63f3715b1512021529c9c5075d449e4e3b","Text":"jsonb_object_agg ( key \"any\", value \"any\" ORDER BY input_sort_columns ) → jsonb","Returns":"jsonb","Payload":{"description":"Collects all the key/value pairs into a JSON object. Key arguments are coerced to text; value arguments are converted as per to_json or to_jsonb. Values can be null, but keys cannot.","description_html":"Collects all the key/value pairs into a JSON object. Key arguments are coerced to text; value arguments are converted as per \u003ccode class=\"function\"\u003eto_json\u003c/code\u003e or \u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e. Values can be null, but keys cannot.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ejsonb_object_agg\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"any\"\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003e\"any\"\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_object_agg ( key \"any\", value \"any\" ORDER BY input_sort_columns ) → jsonb","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
