{"Entry":{"collection":"func","key":"json-object-agg-unique-strict","name":"json_object_agg_unique_strict","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"15","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"16"},{"descriptions_changed":true,"doc_overhaul":false,"from":"18","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"19"}],"content_hash":"017615e1b3a413fd11505337ff61205bd2d54d1883bbbf1479626f3f7e00af82","first_version":"16","group":"aggregate","group_label":"Aggregate Functions","groups":["aggregate"],"imported_at":"2026-09-14T21:49:48.856558+08:00","last_version":"20","name":"json_object_agg_unique_strict","name_key":"json_object_agg_unique_strict","position":21022,"present_in":["16","17","18","19","20"],"signature":"json_object_agg_unique_strict ( key \"any\", value \"any\" ) → json","signature_count":1,"slug":"json-object-agg-unique-strict","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":"json-object-agg-unique-strict","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"json-object-agg-unique-strict","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. The key can not be null. If the value is null then the entry is skipped. If there is a duplicate key an error is thrown.","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. The \u003cem class=\"parameter\"\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e can not be null. If the \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e is null then the entry is skipped. If there is a duplicate key an error is thrown.","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. The key can not be null. If the value is null then the entry is skipped. If there is a duplicate key an error is thrown.","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. The \u003cem class=\"parameter\"\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e can not be null. If the \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e is null then the entry is skipped. If there is a duplicate key an error is thrown.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ejson_object_agg_unique_strict\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=\"returnvalue\"\u003ejson\u003c/code\u003e","returns":"json","text":"json_object_agg_unique_strict ( key \"any\", value \"any\" ) → json","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-AGGREGATE-TABLE","file":"functions-aggregate.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"json-object-agg-unique-strict","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"json_object_agg_unique_strict","Summary":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照to_json或to_jsonb进行转换。key不能为空。如果value为空，则跳过该条目。如果存在重复键，则会抛出错误。","BodyHTML":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照\u003ccode\u003eto_json\u003c/code\u003e或\u003ccode\u003eto_jsonb\u003c/code\u003e进行转换。\u003cem\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e不能为空。如果\u003cem\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e为空，则跳过该条目。如果存在重复键，则会抛出错误。\u003cpre\u003ejson_object_agg_unique_strict ( key \u0026#34;any\u0026#34;, value \u0026#34;any\u0026#34; ) → json\u003c/pre\u003e将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照\u003ccode\u003eto_json\u003c/code\u003e或\u003ccode\u003eto_jsonb\u003c/code\u003e进行转换。\u003cem\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e不能为空。如果\u003cem\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e为空，则跳过该条目。如果存在重复键，则会抛出错误。","SourceRevision":"ca936764","ContentHash":"88a4db71eb7368f9872e9028ff8c8f0c2d19db67ec4d6d42872b1d52b554ffa7","Payload":{"description_zh":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照to_json或to_jsonb进行转换。key不能为空。如果value为空，则跳过该条目。如果存在重复键，则会抛出错误。","description_zh_html":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照\u003ccode class=\"function\"\u003eto_json\u003c/code\u003e或\u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e进行转换。\u003cem class=\"parameter\"\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e不能为空。如果\u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e为空，则跳过该条目。如果存在重复键，则会抛出错误。","signatures":[{"description_zh":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照to_json或to_jsonb进行转换。key不能为空。如果value为空，则跳过该条目。如果存在重复键，则会抛出错误。","description_zh_html":"将所有键/值对收集到一个JSON对象中。键参数强制转换为文本；值参数按照\u003ccode class=\"function\"\u003eto_json\u003c/code\u003e或\u003ccode class=\"function\"\u003eto_jsonb\u003c/code\u003e进行转换。\u003cem class=\"parameter\"\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e不能为空。如果\u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e为空，则跳过该条目。如果存在重复键，则会抛出错误。","returns":"json","text":"json_object_agg_unique_strict ( key \"any\", value \"any\" ) → json","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"ecf36d1efdc4add7cc63ef08fd38f39a97fb02fb1b110c50d19fb80471aff799","Text":"json_object_agg_unique_strict ( key \"any\", value \"any\" ) → json","Returns":"json","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. The key can not be null. If the value is null then the entry is skipped. If there is a duplicate key an error is thrown.","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. The \u003cem class=\"parameter\"\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e can not be null. If the \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e is null then the entry is skipped. If there is a duplicate key an error is thrown.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003ejson_object_agg_unique_strict\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=\"returnvalue\"\u003ejson\u003c/code\u003e","returns":"json","text":"json_object_agg_unique_strict ( key \"any\", value \"any\" ) → json","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
