↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Operators

@>(jsonb,jsonb)

contains

Reading PG 18·Select a recorded version

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

Definition PG 18

contains

Declared operator-family membership

Index AMFamilyStrategyPurposeOrdering family
GINjsonb_ops7search
GINjsonb_path_ops7search

Compare versions

Complete source facts

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"}

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f