File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
modules/ROOT/pages/clauses Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 33[[query-finish]]
44= FINISH
55
6- A query ending in `FINISH` — instead of `RETURN` — has no result but executes all its side effects.
6+ A query ending in `FINISH` -- instead of `RETURN` -- has no result but executes all its side effects.
77`FINISH` was introduced as part of Cypher's xref:appendix/gql-conformance/index.adoc[].
88
99The following read query successfully executes but has no results:
Original file line number Diff line number Diff line change @@ -68,26 +68,30 @@ CREATE ALIAS `myComposite`.`myConstituent` FOR DATABASE `myDatabase`;
6868[[query-use-examples-query-graph]]
6969=== Query a graph
7070
71- In this example it is assumed that the DBMS contains a database named `myDatabase`:
71+ This example assumes that the DBMS contains a database named `myDatabase`:
7272
7373.Query
74+ tag::clauses_use[]
7475[source, cypher]
7576----
7677USE myDatabase
7778MATCH (n) RETURN n
7879----
80+ end::clauses_use[]
7981
8082[[query-use-examples-query-composite-database-constituent-graph]]
8183=== Query a composite database constituent graph
8284
8385In this example it is assumed that the DBMS contains a composite database named `myComposite`, which includes an alias named `myConstituent`:
8486
8587.Query
88+ tag::clauses_use_composite[]
8689[source, cypher]
8790----
8891USE myComposite.myConstituent
8992MATCH (n) RETURN n
9093----
94+ end::clauses_use_composite[]
9195
9296
9397[[query-use-examples-query-composite-database-constituent-graph-dynamically]]
You can’t perform that action at this time.
0 commit comments