{"Entry":{"collection":"func","key":"jsonb-each-text","name":"jsonb_each_text","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.3","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.4"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"e9ec5066c66bce0366b1f80b8bfec24ba988e3fb1643f1d220b730c62ee0ab2d","first_version":"9.4","group":"json","group_label":"Json Functions And Operators","groups":["json"],"imported_at":"2026-09-14T21:49:48.80122+08:00","last_version":"20","name":"jsonb_each_text","name_key":"jsonb_each_text","position":16032,"present_in":["9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"jsonb_each_text ( jsonb ) → setof record ( key text, value text )","signature_count":1,"slug":"jsonb-each-text","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"Expands the top-level JSON object into a set of key/value pairs.","summary_zh":""}},"Definition":{"Collection":"func","Key":"jsonb-each-text","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"jsonb-each-text","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"Expands the top-level JSON object into a set of key/value pairs. The returned values will be of type text.","description_html":"Expands the top-level JSON object into a set of key/value pairs. The returned \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003es will be of type \u003ccode class=\"type\"\u003etext\u003c/code\u003e.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","file":"functions-json.html","slug":"18"},"group":"json","group_label":"Json Functions And Operators","lang":"en","layout":"table-new","pages":["functions-json.html"],"prose_only":false,"signatures":[{"description":"Expands the top-level JSON object into a set of key/value pairs. The returned values will be of type text.","description_html":"Expands the top-level JSON object into a set of key/value pairs. The returned \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003es will be of type \u003ccode class=\"type\"\u003etext\u003c/code\u003e.","description_zh":"","description_zh_html":"","examples":[{"expr":"select * from json_each_text('{\"a\":\"foo\", \"b\":\"bar\"}')","result":" key | value\n-----+-------\n a   | foo\n b   | bar"}],"html":"\u003ccode class=\"function\"\u003ejsonb_each_text\u003c/code\u003e ( \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof record\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"setof record","text":"jsonb_each_text ( jsonb ) → setof record ( key text, value text )","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","file":"functions-json.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"jsonb-each-text","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"jsonb_each_text","Summary":"将顶级 JSON 对象展开为一组键/值对。返回的 value 的类型为text。","BodyHTML":"将顶级 JSON 对象展开为一组键/值对。返回的 \u003cem\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e 的类型为\u003ccode\u003etext\u003c/code\u003e。\u003cpre\u003ejsonb_each_text ( jsonb ) → setof record ( key text, value text )\u003c/pre\u003e将顶级 JSON 对象展开为一组键/值对。返回的 \u003cem\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e 的类型为\u003ccode\u003etext\u003c/code\u003e。","SourceRevision":"ca936764","ContentHash":"99fc8d8950f7b86b2db0e00380f693d23547ba2253af3786c3dcafd93e14b4e9","Payload":{"description_zh":"将顶级 JSON 对象展开为一组键/值对。返回的 value 的类型为text。","description_zh_html":"将顶级 JSON 对象展开为一组键/值对。返回的 \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e 的类型为\u003ccode class=\"type\"\u003etext\u003c/code\u003e。","signatures":[{"description_zh":"将顶级 JSON 对象展开为一组键/值对。返回的 value 的类型为text。","description_zh_html":"将顶级 JSON 对象展开为一组键/值对。返回的 \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e 的类型为\u003ccode class=\"type\"\u003etext\u003c/code\u003e。","returns":"setof record","text":"jsonb_each_text ( jsonb ) → setof record ( key text, value text )","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"1cc2b2487c51ad442891430f717057af1f87b7f8621632f1aa1680683d334cc2","Text":"jsonb_each_text ( jsonb ) → setof record ( key text, value text )","Returns":"setof record","Payload":{"description":"Expands the top-level JSON object into a set of key/value pairs. The returned values will be of type text.","description_html":"Expands the top-level JSON object into a set of key/value pairs. The returned \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003es will be of type \u003ccode class=\"type\"\u003etext\u003c/code\u003e.","description_zh":"","description_zh_html":"","examples":[{"expr":"select * from json_each_text('{\"a\":\"foo\", \"b\":\"bar\"}')","result":" key | value\n-----+-------\n a   | foo\n b   | bar"}],"html":"\u003ccode class=\"function\"\u003ejsonb_each_text\u003c/code\u003e ( \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof record\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003ekey\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003evalue\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"setof record","text":"jsonb_each_text ( jsonb ) → setof record ( key text, value text )","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
