Test: quantifiedPathPatternWithPlus (line 234)
Setup (create test data):
CREATE (a:QuantPathTest {name: 'A'})-[:NEXT]->(b:QuantPathTest {name: 'B'})-[:NEXT]->(c:QuantPathTest {name: 'C'})
Cypher query to execute:
MATCH (start:QuantPathTest {name: 'A'})-[:NEXT]->+(end:QuantPathTest) RETURN end.name AS result ORDER BY result
Expected behavior:
-[:NEXT]->+ should match 1 or more relationships
ArcadeDB result:
Neo4j result:
The ->+ quantifier should match one or more relationships, but it only matches exactly one relationship.
Test:
quantifiedPathPatternWithPlus(line 234)Setup (create test data):
Cypher query to execute:
Expected behavior:
ArcadeDB result:
{"result": ["B"]}Neo4j result:
{"result": ["B", "C"]}The
->+quantifier should match one or more relationships, but it only matches exactly one relationship.