Skip to content

Commit def1a00

Browse files
committed
Update Regression Cases
1 parent a4525e3 commit def1a00

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

regress/expected/cypher_match.out

+35
Original file line numberDiff line numberDiff line change
@@ -1396,6 +1396,41 @@ RETURN n;
13961396
{"id": 4222124650659844, "label": "opt_match_v", "properties": {"name": "nobody"}}
13971397
(24 rows)
13981398

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+
13991434
--
14001435
-- Clean up
14011436
--

0 commit comments

Comments
 (0)