@@ -1396,6 +1396,41 @@ RETURN n;
1396
1396
{"id": 4222124650659844, "label": "opt_match_v", "properties": {"name": "nobody"}}
1397
1397
(24 rows)
1398
1398
1399
+ MATCH (n)
1400
+ WHERE n.i = ALL (
1401
+ SELECT i::postgraph.gtype FROM tst as t
1402
+ )
1403
+ RETURN n;
1404
+ n
1405
+ ---
1406
+ (0 rows)
1407
+
1408
+ MATCH (n)
1409
+ WHERE n.i = ANY (
1410
+ SELECT i::postgraph.gtype FROM tst as t
1411
+ )
1412
+ RETURN n;
1413
+ n
1414
+ ------------------------------------------------------------------------------
1415
+ {"id": 281474976710662, "label": "", "properties": {"i": 1, "j": 2, "k": 3}}
1416
+ {"id": 281474976710663, "label": "", "properties": {"i": 1, "j": 3}}
1417
+ {"id": 281474976710664, "label": "", "properties": {"i": 2, "k": 3}}
1418
+ {"id": 844424930131971, "label": "v", "properties": {"i": 1}}
1419
+ (4 rows)
1420
+
1421
+ MATCH (n)
1422
+ WHERE n.i = SOME (
1423
+ SELECT i::postgraph.gtype FROM tst as t
1424
+ )
1425
+ RETURN n;
1426
+ n
1427
+ ------------------------------------------------------------------------------
1428
+ {"id": 281474976710662, "label": "", "properties": {"i": 1, "j": 2, "k": 3}}
1429
+ {"id": 281474976710663, "label": "", "properties": {"i": 1, "j": 3}}
1430
+ {"id": 281474976710664, "label": "", "properties": {"i": 2, "k": 3}}
1431
+ {"id": 844424930131971, "label": "v", "properties": {"i": 1}}
1432
+ (4 rows)
1433
+
1399
1434
--
1400
1435
-- Clean up
1401
1436
--
0 commit comments