Skip to content

Commit eb86d7f

Browse files
cheat sheet tags
1 parent 524e678 commit eb86d7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/ROOT/pages/queries/select-version.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,25 +154,29 @@ It is, therefore, recommended to set the default language to Cypher 25 and migra
154154
======
155155

156156
.Cypher 25 query on a Neo4j 2025.06+ database with Cypher 5 as default language
157+
// tag::queries_select_version_cypher_25[]
157158
[source,cypher]
158159
----
159160
CYPHER 25
160161
MATCH (n:Order)-[r:SHIPPED_TO]->(:Address)
161162
SET n = properties(r)
162163
----
164+
// end::queries_select_version_cypher_25[]
163165

164166
======
165167
166168
[.include-with-Cypher-5]
167169
======
168170

169171
.Cypher 5 query on a Neo4j 2025.06+ database with Cypher 25 as default language
172+
// tag::queries_select_version_cypher_5[]
170173
[source,cypher]
171174
----
172175
CYPHER 5
173176
MATCH (n:Order)-[r:SHIPPED_TO]->(:Address)
174177
SET n = r
175178
----
179+
// end::queries_select_version_cypher_5[]
176180

177181
======
178182
=====

0 commit comments

Comments
 (0)