json

JSONB <@

Tests whether the left JSONB value is contained in the right value.

Formal Syntax & Structure

sql syntaxsql
jsonb <@ jsonb

Working Example

Example Snippetsql
SELECT '{"a":7}'::jsonb <@ '{"a":7,"b":9}'::jsonb;
SQL Reference