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