@@ -10331,32 +10331,36 @@ table2-mapping
10331
10331
<row>
10332
10332
<entry><literal>@></literal></entry>
10333
10333
<entry><type>jsonb</type></entry>
10334
- <entry>Does the left JSON value contain within it the right value?</entry>
10334
+ <entry>Does the left JSON value contain the right JSON
10335
+ path/value entries at the top level?</entry>
10335
10336
<entry><literal>'{"a":1, "b":2}'::jsonb @> '{"b":2}'::jsonb</literal></entry>
10336
10337
</row>
10337
10338
<row>
10338
10339
<entry><literal><@</literal></entry>
10339
10340
<entry><type>jsonb</type></entry>
10340
- <entry>Is the left JSON value contained within the right value?</entry>
10341
+ <entry>Are the left JSON path/value entries contained at the top level within
10342
+ the right JSON value?</entry>
10341
10343
<entry><literal>'{"b":2}'::jsonb <@ '{"a":1, "b":2}'::jsonb</literal></entry>
10342
10344
</row>
10343
10345
<row>
10344
10346
<entry><literal>?</literal></entry>
10345
10347
<entry><type>text</type></entry>
10346
- <entry>Does the key/element <emphasis>string</emphasis> exist within
10347
- the JSON value?</entry>
10348
+ <entry>Does the <emphasis>string</emphasis> exist as a top-level
10349
+ key within the JSON value?</entry>
10348
10350
<entry><literal>'{"a":1, "b":2}'::jsonb ? 'b'</literal></entry>
10349
10351
</row>
10350
10352
<row>
10351
10353
<entry><literal>?|</literal></entry>
10352
10354
<entry><type>text[]</type></entry>
10353
- <entry>Do any of these key/element <emphasis>strings</emphasis> exist?</entry>
10355
+ <entry>Do any of these array <emphasis>strings</emphasis>
10356
+ exist as top-level keys?</entry>
10354
10357
<entry><literal>'{"a":1, "b":2, "c":3}'::jsonb ?| array['b', 'c']</literal></entry>
10355
10358
</row>
10356
10359
<row>
10357
10360
<entry><literal>?&</literal></entry>
10358
10361
<entry><type>text[]</type></entry>
10359
- <entry>Do all of these key/element <emphasis>strings</emphasis> exist?</entry>
10362
+ <entry>Do all of these array <emphasis>strings</emphasis> exist
10363
+ as top-level keys?</entry>
10360
10364
<entry><literal>'["a", "b"]'::jsonb ?& array['a', 'b']</literal></entry>
10361
10365
</row>
10362
10366
<row>
0 commit comments