{"Entry":{"collection":"func","key":"jsonb-path-query-array","name":"jsonb_path_query_array","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"11","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"12"},{"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":"16","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"17"}],"content_hash":"5d3c3982fea4a20b01eeb751f1fab38c99346e899ff7e6fdd2e7ae46bcb95ac6","derived_content_hash":"b7d98ca719b354bcdb758790ad6745a165ce174808285bbe5071d9c070cfc01a","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:9482f4449fddfbb9592a21bdfe4eaf413d32a7500b379f287defce615ffbbacd","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"12","group":"json","group_label":"Json Functions And Operators","groups":["json"],"imported_at":"2026-09-14T21:49:48.808142+08:00","last_version":"20","name":"jsonb_path_query_array","name_key":"jsonb_path_query_array","position":16043,"present_in":["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":"abd084e86485269a21f8eb5e607ec86f8447c778ed08dd7e4906129313d6a7e2","repair":"wiki-repair-20261023"},"signature":"jsonb_path_query_array ( target jsonb, path jsonpath [, vars jsonb [, silent boolean ]] ) → jsonb","signature_count":1,"slug":"jsonb-path-query-array","source_rev":"wiki-repair-20261023:9482f4449fddfbb9592a21bdfe4eaf413d32a7500b379f287defce615ffbbacd","summary":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array.","summary_zh":""}},"Definition":{"Collection":"func","Key":"jsonb-path-query-array","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"jsonb-path-query-array","SourceRevision":"wiki-repair-20261023:9482f4449fddfbb9592a21bdfe4eaf413d32a7500b379f287defce615ffbbacd","Facts":{"description":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for jsonb_path_query.","description_html":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for \u003ccode class=\"function\"\u003ejsonb_path_query\u003c/code\u003e.","description_zh":"以 JSON 数组的形式返回由 JSON 路径为指定的 JSON 值返回的所有 JSON 项。参数与 jsonb_path_query 相同。","description_zh_html":"以 JSON 数组的形式返回由 JSON 路径为指定的 JSON 值返回的所有 JSON 项。参数与 \u003ccode class=\"function\"\u003ejsonb_path_query\u003c/code\u003e 相同。","doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","file":"functions-json.html","sha256":"060b67147827d70ddcf5948833ddfbeada321366476016c8b8b7d68afda8045c","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-json.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"060b67147827d70ddcf5948833ddfbeada321366476016c8b8b7d68afda8045c","version":"18.7"},{"file":"functions-json.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"31b98fa7f00387abf441728c31918bfe8b368642bceeb8bba88a73c3fbd607de","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"json","group_label":"JSON 函数和操作符","lang":"en","layout":"table-new","pages":["functions-json.html"],"prose_only":false,"signatures":[{"description":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for jsonb_path_query.","description_html":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for \u003ccode class=\"function\"\u003ejsonb_path_query\u003c/code\u003e.","description_zh":"以 JSON 数组的形式返回由 JSON 路径为指定的 JSON 值返回的所有 JSON 项。参数与 jsonb_path_query 相同。","description_zh_html":"以 JSON 数组的形式返回由 JSON 路径为指定的 JSON 值返回的所有 JSON 项。参数与 \u003ccode class=\"function\"\u003ejsonb_path_query\u003c/code\u003e 相同。","examples":[{"expr":"jsonb_path_query_array('{\"a\":[1,2,3,4,5]}', '$.a[*] ? (@ \u003e= $min \u0026\u0026 @ \u003c= $max)', '{\"min\":2, \"max\":4}')","result":"[2, 3, 4]"}],"html":"\u003ccode class=\"function\"\u003ejsonb_path_query_array\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etarget\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003epath\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonpath\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003evars\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003esilent\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e\u003c/span\u003e]\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003ejsonb\u003c/code\u003e","returns":"jsonb","text":"jsonb_path_query_array ( target jsonb, path jsonpath [, vars jsonb [, silent boolean]] ) → jsonb","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-json.html","sha256":"a412feb14a229f1d9f14fa2d7735255aa297d5eb8f2971d744d9dfee659c7cca"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","file":"functions-json.html","sha256":"060b67147827d70ddcf5948833ddfbeada321366476016c8b8b7d68afda8045c","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"jsonb-path-query-array","SourceDatabase":"center","Version":"18","Locale":"en","Title":"jsonb_path_query_array","Summary":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for jsonb_path_query.","BodyHTML":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for \u003ccode\u003ejsonb_path_query\u003c/code\u003e.","SourceRevision":"wiki-repair-20261023:9482f4449fddfbb9592a21bdfe4eaf413d32a7500b379f287defce615ffbbacd","ContentHash":"5922a149b7bd41d0acb7169ab3dc7eed588cd7133504616ab815e1eebf1d501b","Payload":{"description":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for jsonb_path_query.","description_html":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for \u003ccode class=\"function\"\u003ejsonb_path_query\u003c/code\u003e.","signatures":[{"description":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for jsonb_path_query.","description_html":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for \u003ccode class=\"function\"\u003ejsonb_path_query\u003c/code\u003e.","description_zh":"以 JSON 数组的形式返回由 JSON 路径为指定的 JSON 值返回的所有 JSON 项。参数与 jsonb_path_query 相同。","description_zh_html":"以 JSON 数组的形式返回由 JSON 路径为指定的 JSON 值返回的所有 JSON 项。参数与 \u003ccode class=\"function\"\u003ejsonb_path_query\u003c/code\u003e 相同。","examples":[{"expr":"jsonb_path_query_array('{\"a\":[1,2,3,4,5]}', '$.a[*] ? (@ \u003e= $min \u0026\u0026 @ \u003c= $max)', '{\"min\":2, \"max\":4}')","result":"[2, 3, 4]"}],"html":"\u003ccode class=\"function\"\u003ejsonb_path_query_array\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etarget\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003epath\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonpath\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003evars\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003esilent\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e\u003c/span\u003e]\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003ejsonb\u003c/code\u003e","returns":"jsonb","text":"jsonb_path_query_array ( target jsonb, path jsonpath [, vars jsonb [, silent boolean]] ) → jsonb","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["12","13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"2fb4d932e98a6960a89b623e24f21801e79adfb147bc2e4607e0193e872f687f","Text":"jsonb_path_query_array ( target jsonb, path jsonpath [, vars jsonb [, silent boolean]] ) → jsonb","Returns":"jsonb","Payload":{"description":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for jsonb_path_query.","description_html":"Returns all JSON items returned by the JSON path for the specified JSON value, as a JSON array. The parameters are the same as for \u003ccode class=\"function\"\u003ejsonb_path_query\u003c/code\u003e.","description_zh":"以 JSON 数组的形式返回由 JSON 路径为指定的 JSON 值返回的所有 JSON 项。参数与 jsonb_path_query 相同。","description_zh_html":"以 JSON 数组的形式返回由 JSON 路径为指定的 JSON 值返回的所有 JSON 项。参数与 \u003ccode class=\"function\"\u003ejsonb_path_query\u003c/code\u003e 相同。","examples":[{"expr":"jsonb_path_query_array('{\"a\":[1,2,3,4,5]}', '$.a[*] ? (@ \u003e= $min \u0026\u0026 @ \u003c= $max)', '{\"min\":2, \"max\":4}')","result":"[2, 3, 4]"}],"html":"\u003ccode class=\"function\"\u003ejsonb_path_query_array\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etarget\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003epath\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonpath\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003evars\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e [\u003cspan class=\"optional\"\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003esilent\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eboolean\u003c/code\u003e\u003c/span\u003e]\u003c/span\u003e] ) → \u003ccode class=\"returnvalue\"\u003ejsonb\u003c/code\u003e","returns":"jsonb","text":"jsonb_path_query_array ( target jsonb, path jsonpath [, vars jsonb [, silent boolean]] ) → jsonb","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
