Skip to content

Commit db4f856

Browse files
More Cypher 25 only labels
1 parent 7bf220e commit db4f856

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/ROOT/pages/patterns/reference.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,8 @@ MATCH (a)-[r]-(b)-[f]-(c)-[r]-(d) // r repeated twice
16741674
MATCH (a)-[r]-(b), (c)-[r]-(d) // r repeated twice
16751675
----
16761676

1677-
The `DIFFERENT RELATIONSHIPS` keyword was released in Neo4j 2025.06 and can be used to explicitly specify Cypher's default match mode after `MATCH`.
1677+
The `DIFFERENT RELATIONSHIPS` keyword was released in Neo4j 2025.06.
1678+
It is only available in Cypher 25 and can be used to explicitly specify Cypher's default match mode after `MATCH`.
16781679
Specifying the `DIFFERENT RELATIONSHIPS` keyword is functionally equivalent to not specifying a match mode.
16791680
For example, the following two `MATCH` clauses are equivalent:
16801681

@@ -1684,6 +1685,7 @@ MATCH (a)--{2}(b)
16841685
MATCH DIFFERENT RELATIONSHIPS (a)--{2}(b)
16851686
----
16861687

1688+
[role=label--new-Neo4j-2025.06 label--cypher-25-only]
16871689
[[match-modes-rules-repeatable-elements]]
16881690
==== REPEATABLE ELEMENTS
16891691

0 commit comments

Comments
 (0)