I have table with JSON-b field like this:

```
id | data
----------
1  | '{"points": [{"id": 10, "address": "Test 1"}, {"id": 20, "address": "Test 2"}, {"id": 30, "address": "Test 3"}]}'
2  | '{"points": [{"id": 40, "address": "Test 444"}, {"id": 20, "address": "Test 222"}, {"id": 50, "address": "Test 555"}]}'

```

The JSON-b field "data" contains "points" array.

How to get all "points" whose point id is contained in an array [40, 20]? Like classic IN:

```
... IN (40,20)

```

Query must use GIN index!!! Array IDs will be sub-query.