{"Entry":{"collection":"func","key":"jsonb-path-match","name":"jsonb_path_match","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":"7668a6c257377a0b5e96f3bb2fc51b109a5482c2da9d98f7a82f5bd0337a17c8","first_version":"12","group":"json","group_label":"Json Functions And Operators","groups":["json"],"imported_at":"2026-09-14T21:49:48.806387+08:00","last_version":"20","name":"jsonb_path_match","name_key":"jsonb_path_match","position":16040,"present_in":["12","13","14","15","16","17","18","19","20"],"signature":"jsonb_path_match ( target jsonb, path jsonpath [, vars jsonb [, silent boolean ]] ) → boolean","signature_count":1,"slug":"jsonb-path-match","source_rev":"2026-09-14T13:14:25.684213+00:00@99e6866c","summary":"Returns the SQL boolean result of a JSON path predicate check for the specified JSON value.","summary_zh":""}},"Definition":{"Collection":"func","Key":"jsonb-path-match","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"jsonb-path-match","SourceRevision":"2026-09-14T13:14:25.684213+00:00@99e6866c","Facts":{"description":"Returns the SQL boolean result of a JSON path predicate check for the specified JSON value. (This is useful only with predicate check expressions, not SQL-standard JSON path expressions, since it will either fail or return NULL if the path result is not a single boolean value.) The optional vars and silent arguments act the same as for jsonb_path_exists.","description_html":"Returns the SQL boolean result of a JSON path predicate check for the specified JSON value. (This is useful only with \u003ca href=\"/docs/18/functions-json.html#FUNCTIONS-SQLJSON-CHECK-EXPRESSIONS\" title=\"9.16.2.1.1. Boolean Predicate Check Expressions\"\u003epredicate check expressions\u003c/a\u003e, not SQL-standard JSON path expressions, since it will either fail or return \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the path result is not a single boolean value.) The optional \u003cem class=\"parameter\"\u003e\u003ccode\u003evars\u003c/code\u003e\u003c/em\u003e and \u003cem class=\"parameter\"\u003e\u003ccode\u003esilent\u003c/code\u003e\u003c/em\u003e arguments act the same as for \u003ccode class=\"function\"\u003ejsonb_path_exists\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":"Returns the SQL boolean result of a JSON path predicate check for the specified JSON value. (This is useful only with predicate check expressions, not SQL-standard JSON path expressions, since it will either fail or return NULL if the path result is not a single boolean value.) The optional vars and silent arguments act the same as for jsonb_path_exists.","description_html":"Returns the SQL boolean result of a JSON path predicate check for the specified JSON value. (This is useful only with \u003ca href=\"/docs/18/functions-json.html#FUNCTIONS-SQLJSON-CHECK-EXPRESSIONS\" title=\"9.16.2.1.1. Boolean Predicate Check Expressions\"\u003epredicate check expressions\u003c/a\u003e, not SQL-standard JSON path expressions, since it will either fail or return \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the path result is not a single boolean value.) The optional \u003cem class=\"parameter\"\u003e\u003ccode\u003evars\u003c/code\u003e\u003c/em\u003e and \u003cem class=\"parameter\"\u003e\u003ccode\u003esilent\u003c/code\u003e\u003c/em\u003e arguments act the same as for \u003ccode class=\"function\"\u003ejsonb_path_exists\u003c/code\u003e.","description_zh":"","description_zh_html":"","examples":[{"expr":"jsonb_path_match('{\"a\":[1,2,3,4,5]}', 'exists($.a[*] ? (@ \u003e= $min \u0026\u0026 @ \u003c= $max))', '{\"min\":2, \"max\":4}')","result":"t"}],"html":"\u003ccode class=\"function\"\u003ejsonb_path_match\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\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"jsonb_path_match ( target jsonb, path jsonpath [, vars jsonb [, silent boolean ]] ) → boolean","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-JSON-PROCESSING-TABLE","file":"functions-json.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"jsonb-path-match","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"jsonb_path_match","Summary":"返回指定 JSON 值的 JSON 路径谓词检查的 SQL 布尔结果。（这只对谓词检查表达式有用，而不适用于 SQL 标准 JSON 路径表达式，因为如果路径结果不是单个布尔值，它将失败或返回NULL。）可选的vars和silent参数的作用与jsonb_path_exists相同。","BodyHTML":"返回指定 JSON 值的 JSON 路径谓词检查的 SQL 布尔结果。（这只对\u003ca href=\"/docs/18/functions-json.html#FUNCTIONS-SQLJSON-CHECK-EXPRESSIONS\" rel=\"nofollow\"\u003e谓词检查表达式\u003c/a\u003e有用，而不适用于 SQL 标准 JSON 路径表达式，因为如果路径结果不是单个布尔值，它将失败或返回\u003ccode\u003eNULL\u003c/code\u003e。）可选的\u003cem\u003e\u003ccode\u003evars\u003c/code\u003e\u003c/em\u003e和\u003cem\u003e\u003ccode\u003esilent\u003c/code\u003e\u003c/em\u003e参数的作用与\u003ccode\u003ejsonb_path_exists\u003c/code\u003e相同。\u003cpre\u003ejsonb_path_match ( target jsonb, path jsonpath [, vars jsonb [, silent boolean ]] ) → boolean\u003c/pre\u003e返回指定 JSON 值的 JSON 路径谓词检查的 SQL 布尔结果。（这只对\u003ca href=\"/docs/18/functions-json.html#FUNCTIONS-SQLJSON-CHECK-EXPRESSIONS\" rel=\"nofollow\"\u003e谓词检查表达式\u003c/a\u003e有用，而不适用于 SQL 标准 JSON 路径表达式，因为如果路径结果不是单个布尔值，它将失败或返回\u003ccode\u003eNULL\u003c/code\u003e。）可选的\u003cem\u003e\u003ccode\u003evars\u003c/code\u003e\u003c/em\u003e和\u003cem\u003e\u003ccode\u003esilent\u003c/code\u003e\u003c/em\u003e参数的作用与\u003ccode\u003ejsonb_path_exists\u003c/code\u003e相同。","SourceRevision":"1b5ca64c","ContentHash":"cb27e91cf4e611f14f2b66a39090db8fa87bfe5354b0c69d8a505c7201e324b7","Payload":{"description_zh":"返回指定 JSON 值的 JSON 路径谓词检查的 SQL 布尔结果。（这只对谓词检查表达式有用，而不适用于 SQL 标准 JSON 路径表达式，因为如果路径结果不是单个布尔值，它将失败或返回NULL。）可选的vars和silent参数的作用与jsonb_path_exists相同。","description_zh_html":"返回指定 JSON 值的 JSON 路径谓词检查的 SQL 布尔结果。（这只对\u003ca href=\"/docs/18/functions-json.html#FUNCTIONS-SQLJSON-CHECK-EXPRESSIONS\" title=\"9.16.2.1.1. 布尔谓词检查表达式\"\u003e谓词检查表达式\u003c/a\u003e有用，而不适用于 SQL 标准 JSON 路径表达式，因为如果路径结果不是单个布尔值，它将失败或返回\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。）可选的\u003cem class=\"parameter\"\u003e\u003ccode\u003evars\u003c/code\u003e\u003c/em\u003e和\u003cem class=\"parameter\"\u003e\u003ccode\u003esilent\u003c/code\u003e\u003c/em\u003e参数的作用与\u003ccode class=\"function\"\u003ejsonb_path_exists\u003c/code\u003e相同。","signatures":[{"description_zh":"返回指定 JSON 值的 JSON 路径谓词检查的 SQL 布尔结果。（这只对谓词检查表达式有用，而不适用于 SQL 标准 JSON 路径表达式，因为如果路径结果不是单个布尔值，它将失败或返回NULL。）可选的vars和silent参数的作用与jsonb_path_exists相同。","description_zh_html":"返回指定 JSON 值的 JSON 路径谓词检查的 SQL 布尔结果。（这只对\u003ca href=\"/docs/18/functions-json.html#FUNCTIONS-SQLJSON-CHECK-EXPRESSIONS\" title=\"9.16.2.1.1. 布尔谓词检查表达式\"\u003e谓词检查表达式\u003c/a\u003e有用，而不适用于 SQL 标准 JSON 路径表达式，因为如果路径结果不是单个布尔值，它将失败或返回\u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e。）可选的\u003cem class=\"parameter\"\u003e\u003ccode\u003evars\u003c/code\u003e\u003c/em\u003e和\u003cem class=\"parameter\"\u003e\u003ccode\u003esilent\u003c/code\u003e\u003c/em\u003e参数的作用与\u003ccode class=\"function\"\u003ejsonb_path_exists\u003c/code\u003e相同。","returns":"boolean","text":"jsonb_path_match ( target jsonb, path jsonpath [, vars jsonb [, silent boolean ]] ) → boolean","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["12","13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"81d661e84d4d833edf00c8205ce5e951c6321fab3e4c1971e62fa6fcdb59affd","Text":"jsonb_path_match ( target jsonb, path jsonpath [, vars jsonb [, silent boolean ]] ) → boolean","Returns":"boolean","Payload":{"description":"Returns the SQL boolean result of a JSON path predicate check for the specified JSON value. (This is useful only with predicate check expressions, not SQL-standard JSON path expressions, since it will either fail or return NULL if the path result is not a single boolean value.) The optional vars and silent arguments act the same as for jsonb_path_exists.","description_html":"Returns the SQL boolean result of a JSON path predicate check for the specified JSON value. (This is useful only with \u003ca href=\"/docs/18/functions-json.html#FUNCTIONS-SQLJSON-CHECK-EXPRESSIONS\" title=\"9.16.2.1.1. Boolean Predicate Check Expressions\"\u003epredicate check expressions\u003c/a\u003e, not SQL-standard JSON path expressions, since it will either fail or return \u003ccode class=\"literal\"\u003eNULL\u003c/code\u003e if the path result is not a single boolean value.) The optional \u003cem class=\"parameter\"\u003e\u003ccode\u003evars\u003c/code\u003e\u003c/em\u003e and \u003cem class=\"parameter\"\u003e\u003ccode\u003esilent\u003c/code\u003e\u003c/em\u003e arguments act the same as for \u003ccode class=\"function\"\u003ejsonb_path_exists\u003c/code\u003e.","description_zh":"","description_zh_html":"","examples":[{"expr":"jsonb_path_match('{\"a\":[1,2,3,4,5]}', 'exists($.a[*] ? (@ \u003e= $min \u0026\u0026 @ \u003c= $max))', '{\"min\":2, \"max\":4}')","result":"t"}],"html":"\u003ccode class=\"function\"\u003ejsonb_path_match\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\"\u003eboolean\u003c/code\u003e","returns":"boolean","text":"jsonb_path_match ( target jsonb, path jsonpath [, vars jsonb [, silent boolean ]] ) → boolean","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
