Function jsonb_contained

Source
fn jsonb_contained(left: JsonbRef<'_>, right: JsonbRef<'_>) -> bool
Expand description

Is the first JSON value contained in the second?

Examples:

query B
select '{"b":2}'::jsonb <@ '{"a":1, "b":2}'::jsonb;
----
t