↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

Wiki / 运算符

@>(jsonb,jsonb)

contains

当前阅读 PG 18·选择有来源记录的版本

此版本暂无所选语言的定义,以下显示原始英文内容。

Left operand
jsonb
Right operand
jsonb
Result type
bool
Implementing function
jsonb_contains(jsonb,jsonb)
Operator kind
Binary
Hash join candidate
no
Merge join candidate
no
aliases
@>, @>(jsonb,jsonb)
manual semantics
Exact operand/result signature matched
signature
@>(jsonb,jsonb) → bool
source oid
3246

版本定义 PG 18

contains

Declared operator-family membership

Index AMFamilyStrategyPurposeOrdering family
GINjsonb_ops7search
GINjsonb_path_ops7search

比较版本

完整来源事实

memberships

map[description:contains family:jsonb_ops family_slug:family-gin-jsonb_ops left_type:jsonb method:gin operator:@>(jsonb,jsonb) operator_slug:op-403e-jsonb-jsonb purpose:search result_type:bool right_type:jsonb sort_family: sort_family_slug: strategy:7], map[description:contains family:jsonb_path_ops family_slug:family-gin-jsonb_path_ops left_type:jsonb method:gin operator:@>(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"}

来源引用

完整定义与证据 JSON

定义来源

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

正文语言: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f