Skip to content

Commit 741b5cb

Browse files
committed
Small fix on call docs
1 parent 7850ebf commit 741b5cb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/modules/ROOT/pages/subqueries/call.adoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
:description: This page describes how to create CALL subqueries with the Cypher Builder.
33
= `Call`
44

5-
`Cypher.Call` generates Cypher link:https://neo4j.com/docs/cypher-manual/current/subqueries/call-subquery/[`CALL` subqueries]. To do this, instantiate `Cypher.Call` with a valid subquery as parameter in the constructor.
5+
`Cypher.Call` generates Cypher link:https://neo4j.com/docs/cypher-manual/current/subqueries/call-subquery/[`CALL` subqueries]. To do this, instantiate `Cypher.Call` with a valid subquery as a parameter in the constructor.
66

77
[source, javascript]
88
----
99
new Cypher.Call(subquery);
1010
----
1111

12-
In the following example, `Cypher.Call` receives a `Cypher.Match` clause.
12+
In the following example, `Cypher.Call` receives a `Cypher.Match` clause. This generates a `MATCH` clause wrapped by a `CALL`.
1313

1414
[source, javascript]
1515
----
@@ -24,8 +24,6 @@ const callClause = new Cypher.Call(subquery).return(dogName);
2424
const { cypher, params } = callClause.build();
2525
----
2626

27-
This example builds a `CALL` clause with the `MATCH` subquery inside.
28-
2927
[source, cypher]
3028
----
3129
CALL {

0 commit comments

Comments
 (0)