json
JSONB @>
Tests structural containment, not textual substring matching.
Formal Syntax & Structure
sql syntaxsql
jsonb @> jsonbWorking Example
Example Snippetsql
SELECT '{"a":7,"b":9}'::jsonb @> '{"a":7}'::jsonb;Tests structural containment, not textual substring matching.
jsonb @> jsonbSELECT '{"a":7,"b":9}'::jsonb @> '{"a":7}'::jsonb;