{"Entry":{"collection":"operator","key":"op-403f-jsonb-jsonpath","name":"@?(jsonb,jsonpath)","aliases":["@?","@?(jsonb,jsonpath)"],"metadata":{"aliases":["@?","@?(jsonb,jsonpath)"],"category":"JSON","content_hash":"95cf1a3d4fbd4129a9cef8135f86fee657c9b287b473ed417484550231bc4939","imported_at":"2026-09-30T00:40:43.612492+08:00","name":"@?(jsonb,jsonpath)","name_zh":"","slug":"op-403f-jsonb-jsonpath","summary":"jsonpath exists"}},"Definition":{"Collection":"operator","Key":"op-403f-jsonb-jsonpath","SourceDatabase":"center","Version":"18","SourceTable":"pg_operator_entry","SourceKey":"op-403f-jsonb-jsonpath","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"aliases":["@?","@?(jsonb,jsonpath)"],"comparison_data":{"memberships":[{"family":"jsonb_ops","left_type":"jsonb","method":"gin","operator":"@?(jsonb,jsonpath)","purpose":"search","right_type":"jsonpath","sort_family":"","strategy":"15"},{"family":"jsonb_path_ops","left_type":"jsonb","method":"gin","operator":"@?(jsonb,jsonpath)","purpose":"search","right_type":"jsonpath","sort_family":"","strategy":"15"}],"operator":{"commutator":"","function":"jsonb_path_exists_opr(jsonb,jsonpath)","hash_join":"f","kind":"b","left_type":"jsonb","merge_join":"f","negator":"","result_type":"bool","right_type":"jsonpath","symbol":"@?"}},"comparison_hash":"33baa6bbc93cf07d2b0c90c88b0ac1183bc60b8ae9cf557e92c7813f11590682","description":["jsonpath exists"],"facts":[{"label":"Left operand","value":"jsonb"},{"label":"Right operand","value":"jsonpath"},{"label":"Result type","value":"bool"},{"label":"Implementing function","value":"jsonb_path_exists_opr(jsonb,jsonpath)"},{"label":"Operator kind","value":"Binary"},{"label":"Hash join candidate","value":"no"},{"label":"Merge join candidate","value":"no"}],"manual_semantics":"Exact operand/result signature matched","memberships":[{"description":"jsonpath exists","family":"jsonb_ops","family_slug":"family-gin-jsonb_ops","left_type":"jsonb","method":"gin","operator":"@?(jsonb,jsonpath)","operator_slug":"op-403f-jsonb-jsonpath","purpose":"search","result_type":"bool","right_type":"jsonpath","sort_family":"","sort_family_slug":"","strategy":"15"},{"description":"jsonpath exists","family":"jsonb_path_ops","family_slug":"family-gin-jsonb_path_ops","left_type":"jsonb","method":"gin","operator":"@?(jsonb,jsonpath)","operator_slug":"op-403f-jsonb-jsonpath","purpose":"search","result_type":"bool","right_type":"jsonpath","sort_family":"","sort_family_slug":"","strategy":"15"}],"operator":{"commutator":"","function":"jsonb_path_exists_opr(jsonb,jsonpath)","hash_join":"f","kind":"b","left_type":"jsonb","merge_join":"f","negator":"","result_type":"bool","right_type":"jsonpath","symbol":"@?"},"related":[{"label":"jsonb data type","url":"/wiki/type/jsonb/?v=18"},{"label":"jsonpath data type","url":"/wiki/type/jsonpath/?v=18"},{"label":"bool data type","url":"/wiki/type/bool/?v=18"},{"label":"gin/jsonb_ops family","url":"/wiki/opclass/family-gin-jsonb_ops/?v=18"},{"label":"gin/jsonb_path_ops family","url":"/wiki/opclass/family-gin-jsonb_path_ops/?v=18"}],"release":{"catalog_fingerprint":"deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6","channel":"stable","label":"18.6","major":"18","manual_fingerprint":"fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"paragraphs":["Does JSON path return any item for the specified JSON value? (This is useful only with SQL-standard JSON path expressions, not predicate check expressions , since those always return a value.)","'{\"a\":[1,2,3,4,5]}'::jsonb @? '$.a[*] ? (@ \u003e 2)' → t"],"title":"English manual definition"},{"paragraphs":["The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 36.14 for more information."],"title":"Catalog interpretation"}],"signature":"@?(jsonb,jsonpath) → bool","source_oid":"4012","sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual: catalog-pg-operator.html","path":"catalog-pg-operator.html","sha256":"e0b1817914e5e8f9037955cd41e9a43584e9227fcc115784898ecdd9a6c0ecd6","url":"/docs/18/catalog-pg-operator.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-amop.html","path":"catalog-pg-amop.html","sha256":"e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1","url":"/docs/18/catalog-pg-amop.html"},{"label":"PostgreSQL 18 English manual: functions-json.html","path":"functions-json.html","sha256":"5129ad5ed908a15ce4b8a7183a9676878f9acde4d474b28ad476d0c980b73897","url":"/docs/18/functions-json.html#FUNCTIONS-JSONB-OP-TABLE"}],"tables":[{"columns":[{"key":"method","label":"Index AM"},{"key":"family","label":"Family"},{"key":"strategy","label":"Strategy"},{"key":"purpose","label":"Purpose"},{"key":"sort_family","label":"Ordering family"}],"key":"memberships","rows":[{"family":{"text":"jsonb_ops","url":"/wiki/opclass/family-gin-jsonb_ops/?v=18"},"method":{"text":"GIN","url":"/wiki/indexam/gin/?v=18"},"purpose":"search","sort_family":"","strategy":"15"},{"family":{"text":"jsonb_path_ops","url":"/wiki/opclass/family-gin-jsonb_path_ops/?v=18"},"method":{"text":"GIN","url":"/wiki/indexam/gin/?v=18"},"purpose":"search","sort_family":"","strategy":"15"}],"title":"Declared operator-family membership"}]},"ManualEvidence":{"release":{"catalog_fingerprint":"deec62e0f0c649d9d0d058ddd0b16bf41afffd569c3fd73949ff0971ce5cabd6","channel":"stable","label":"18.6","major":"18","manual_fingerprint":"fefce9e478eb2afe5e17e869492bbedc67dce23d317f0a5257240113d6496ebc","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","source_sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"Matching PostgreSQL source archive","sha256":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","url":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2"},{"label":"PostgreSQL 18 English manual: catalog-pg-operator.html","path":"catalog-pg-operator.html","sha256":"e0b1817914e5e8f9037955cd41e9a43584e9227fcc115784898ecdd9a6c0ecd6","url":"/docs/18/catalog-pg-operator.html"},{"label":"PostgreSQL 18 English manual: catalog-pg-amop.html","path":"catalog-pg-amop.html","sha256":"e65b90ee78eaf4b4da97ce5b08b972cee2e2660b882ec107be22eca47201f7d1","url":"/docs/18/catalog-pg-amop.html"},{"label":"PostgreSQL 18 English manual: functions-json.html","path":"functions-json.html","sha256":"5129ad5ed908a15ce4b8a7183a9676878f9acde4d474b28ad476d0c980b73897","url":"/docs/18/functions-json.html#FUNCTIONS-JSONB-OP-TABLE"}]},"MeasuredEvidence":{}},"Text":{"Collection":"operator","Key":"op-403f-jsonb-jsonpath","SourceDatabase":"center","Version":"18","Locale":"en","Title":"@?(jsonb,jsonpath)","Summary":"jsonpath exists","BodyHTML":"\u003cp\u003ejsonpath exists\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"5ee7e9c708d2c7be5875794b14b8080af4d7b25dc352d0e2bba9d88936860241","Payload":{"description":["jsonpath exists"],"related":[{"label":"jsonb data type","url":"/wiki/type/jsonb/?v=18"},{"label":"jsonpath data type","url":"/wiki/type/jsonpath/?v=18"},{"label":"bool data type","url":"/wiki/type/bool/?v=18"},{"label":"gin/jsonb_ops family","url":"/wiki/opclass/family-gin-jsonb_ops/?v=18"},{"label":"gin/jsonb_path_ops family","url":"/wiki/opclass/family-gin-jsonb_path_ops/?v=18"}],"sections":[{"paragraphs":["Does JSON path return any item for the specified JSON value? (This is useful only with SQL-standard JSON path expressions, not predicate check expressions , since those always return a value.)","'{\"a\":[1,2,3,4,5]}'::jsonb @? '$.a[*] ? (@ \u003e 2)' → t"],"title":"English manual definition"},{"paragraphs":["The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 36.14 for more information."],"title":"Catalog interpretation"}],"tables":[{"columns":[{"key":"method","label":"Index AM"},{"key":"family","label":"Family"},{"key":"strategy","label":"Strategy"},{"key":"purpose","label":"Purpose"},{"key":"sort_family","label":"Ordering family"}],"key":"memberships","rows":[{"family":{"text":"jsonb_ops","url":"/wiki/opclass/family-gin-jsonb_ops/?v=18"},"method":{"text":"GIN","url":"/wiki/indexam/gin/?v=18"},"purpose":"search","sort_family":"","strategy":"15"},{"family":{"text":"jsonb_path_ops","url":"/wiki/opclass/family-gin-jsonb_path_ops/?v=18"},"method":{"text":"GIN","url":"/wiki/indexam/gin/?v=18"},"purpose":"search","sort_family":"","strategy":"15"}],"title":"Declared operator-family membership"}]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["12","13","14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
