{"Entry":{"collection":"operator","key":"op-403e-jsonb-jsonb","name":"@\u003e(jsonb,jsonb)","aliases":["@\u003e","@\u003e(jsonb,jsonb)"],"metadata":{"aliases":["@\u003e","@\u003e(jsonb,jsonb)"],"category":"JSON","content_hash":"44daf725e371a8497d672a6cbf6e72244b48842d2d7d4bb0fce3bc39a5ad4db3","derived_content_hash":"8aa9c9eb8713afc68c0ec6792520a42950fea68fdc454d32bd3b69f137d3fce6","imported_at":"2026-09-30T00:40:43.590122+08:00","name":"@\u003e(jsonb,jsonb)","name_zh":"","slug":"op-403e-jsonb-jsonb","summary":"contains"}},"Definition":{"Collection":"operator","Key":"op-403e-jsonb-jsonb","SourceDatabase":"center","Version":"18","SourceTable":"pg_operator_entry","SourceKey":"op-403e-jsonb-jsonb","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"aliases":["@\u003e","@\u003e(jsonb,jsonb)"],"comparison_data":{"memberships":[{"family":"jsonb_ops","left_type":"jsonb","method":"gin","operator":"@\u003e(jsonb,jsonb)","purpose":"search","right_type":"jsonb","sort_family":"","strategy":"7"},{"family":"jsonb_path_ops","left_type":"jsonb","method":"gin","operator":"@\u003e(jsonb,jsonb)","purpose":"search","right_type":"jsonb","sort_family":"","strategy":"7"}],"operator":{"commutator":"\u003c@(jsonb,jsonb)","function":"jsonb_contains(jsonb,jsonb)","hash_join":"f","kind":"b","left_type":"jsonb","merge_join":"f","negator":"","result_type":"bool","right_type":"jsonb","symbol":"@\u003e"}},"comparison_hash":"1f7c1bcda6a448446d1f51640a9cbe78118a1e8e90f2a4ce134c2d429870bbb4","description":["contains"],"description_zh":"包含。","description_zh_html":"\u003cp\u003e包含。\u003c/p\u003e\u003cdl\u003e\u003cdt\u003e种类\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003eb\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e符号\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003e@\u0026gt;\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e实现函数\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003ejsonb_contains(jsonb,jsonb)\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e可用于哈希连接\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003e否\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e左操作数类型\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003ejsonb\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e交换运算符\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003e\u0026lt;@(jsonb,jsonb)\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e可用于归并连接\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003e否\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e右操作数类型\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003ejsonb\u003c/code\u003e\u003c/dd\u003e\u003cdt\u003e结果类型\u003c/dt\u003e\u003cdd\u003e\u003ccode\u003ebool\u003c/code\u003e\u003c/dd\u003e\u003c/dl\u003e\u003ch3\u003e同版本中文手册节选\u003c/h3\u003e\u003cp class=\"title\"\u003e\u003cstrong\u003e表 9.48. 附加的 \u003ccode class=\"type\"\u003ejsonb\u003c/code\u003e 操作符\u003c/strong\u003e\u003c/p\u003e\u003cp\u003e\u003ca href=\"/zh/docs/18/functions-json.html#FUNCTIONS-JSONB-OP-TABLE\"\u003e查看完整中文手册与上下文\u003c/a\u003e。\u003c/p\u003e\u003cp\u003e本页开头的中文说明为 PG.CENTER 对源码说明的翻译；手册节选保留对应版本中文文档原文。源码信息及手册示例不代表重新进行过运行测试。\u003c/p\u003e","facts":[{"label":"Left operand","value":"jsonb"},{"label":"Right operand","value":"jsonb"},{"label":"Result type","value":"bool"},{"label":"Implementing function","value":"jsonb_contains(jsonb,jsonb)"},{"label":"Operator kind","value":"Binary"},{"label":"Hash join candidate","value":"no"},{"label":"Merge join candidate","value":"no"}],"facts_zh":[{"label":"左操作数","value":"jsonb"},{"label":"右操作数","value":"jsonb"},{"label":"返回类型","value":"bool"},{"label":"实现函数","value":"jsonb_contains(jsonb,jsonb)"},{"label":"操作符种类","value":"Binary"},{"label":"可用于哈希连接","value":"否"},{"label":"可用于归并连接","value":"否"}],"manual_semantics":"Exact operand/result signature matched","memberships":[{"description":"contains","family":"jsonb_ops","family_slug":"family-gin-jsonb_ops","left_type":"jsonb","method":"gin","operator":"@\u003e(jsonb,jsonb)","operator_slug":"op-403e-jsonb-jsonb","purpose":"search","result_type":"bool","right_type":"jsonb","sort_family":"","sort_family_slug":"","strategy":"7"},{"description":"contains","family":"jsonb_path_ops","family_slug":"family-gin-jsonb_path_ops","left_type":"jsonb","method":"gin","operator":"@\u003e(jsonb,jsonb)","operator_slug":"op-403e-jsonb-jsonb","purpose":"search","result_type":"bool","right_type":"jsonb","sort_family":"","sort_family_slug":"","strategy":"7"}],"operator":{"commutator":"\u003c@(jsonb,jsonb)","function":"jsonb_contains(jsonb,jsonb)","hash_join":"f","kind":"b","left_type":"jsonb","merge_join":"f","negator":"","result_type":"bool","right_type":"jsonb","symbol":"@\u003e"},"related":[{"label":"jsonb data type","url":"/wiki/type/jsonb/?v=18"},{"label":"bool data type","url":"/wiki/type/bool/?v=18"},{"label":"Commutator: \u003c@(jsonb,jsonb)","url":"/wiki/operator/op-3c40-jsonb-jsonb/?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 the first JSON value contain the second? (See Section 8.14.3 for details about containment.)","'{\"a\":1, \"b\":2}'::jsonb @\u003e '{\"b\":2}'::jsonb → 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"}],"sections_zh":[{"paragraphs":["第一个JSON值是否包含第二个？（请参见 第 8.14.3 节 以了解包含的详细信息。）","'{\"a\":1, \"b\":2}'::jsonb @\u003e '{\"b\":2}'::jsonb → t"],"title":"英文手册定义"},{"paragraphs":["目录 pg_operator 存储关于操作符的信息。详见 CREATE OPERATOR 和 第 36.14 节 。"],"title":"目录记录解读"}],"signature":"@\u003e(jsonb,jsonb) → bool","source_oid":"3246","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":"7"},{"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":"7"}],"title":"Declared operator-family membership"}],"tables_zh":[{"columns":[{"key":"method","label":"索引访问方法"},{"key":"family","label":"操作符家族"},{"key":"strategy","label":"策略"},{"key":"purpose","label":"用途"},{"key":"sort_family","label":"排序家族"}],"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":"搜索","sort_family":"","strategy":"7"},{"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":"搜索","sort_family":"","strategy":"7"}],"title":"声明的操作符家族成员关系"}],"zh_from":{"authored_translation":"authored-translation-of-source-description","body_sha256":"c08bac0e4167573359714260ee87ea52ab91748b94885b08751b267d476d6b7f","kind":"same-version-chinese-manual-with-authored-translation-of-source-description","manual":{"anchor":"FUNCTIONS-JSONB-OP-TABLE","build_id":107,"extraction":"concept-introduction","fragment_sha256":"ae5c916e66c770428b3f0f1073bf57e0bd43b9b4384e2d8648239e715186ea53","locale":"zh-Hans","page_key":"functions-json.html","source_hash":"a412feb14a229f1d9f14fa2d7735255aa297d5eb8f2971d744d9dfee659c7cca","source_revision":"unknown:rendered-translation-baseline","translated_from_revision":null,"translation_revision":"git:b1b500221dbe5437cfca004d6b04d3f6e422765d;html-sha256:08e987a66af27b98444a8057c256314eafa13611a3fb9e888214fc436824244b","url":"/zh/docs/18/functions-json.html#FUNCTIONS-JSONB-OP-TABLE","version":"18"},"runtime_rerun":false,"source_facts_revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}},"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-403e-jsonb-jsonb","SourceDatabase":"center","Version":"18","Locale":"en","Title":"@\u003e(jsonb,jsonb)","Summary":"contains","BodyHTML":"\u003cp\u003econtains\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"fbb460d5fdbe0f9261fbebe39e1208a1ccc2825c3917f6064fe4643356bd46b7","Payload":{"description":["contains"],"related":[{"label":"jsonb data type","url":"/wiki/type/jsonb/?v=18"},{"label":"bool data type","url":"/wiki/type/bool/?v=18"},{"label":"Commutator: \u003c@(jsonb,jsonb)","url":"/wiki/operator/op-3c40-jsonb-jsonb/?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 the first JSON value contain the second? (See Section 8.14.3 for details about containment.)","'{\"a\":1, \"b\":2}'::jsonb @\u003e '{\"b\":2}'::jsonb → 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":"7"},{"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":"7"}],"title":"Declared operator-family membership"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
