Skip to content

Commit 087f7a6

Browse files
committed
Update call docs
1 parent 5909008 commit 087f7a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ RETURN dogName
3737

3838
== Variable scope
3939

40-
`Call` clauses accept an array of xref:../variables-and-params/variables.adoc[Cypher Variables] as the second parameter of its constructor. These variables will be available within the scope of the subquery in the generated Cypher.
40+
xref:../variables-and-params/variables.adoc[Variables] can be added to the `CALL` scope by passing the to the second parameter of the constructor, as an array. These variables will be available within the scope of the subquery in the generated Cypher.
4141

4242
[source, javascript]
4343
----
4444
new Cypher.Call(subquery, [var1, var2]);
4545
----
4646

47-
For example, the following code will make two node variables available in the `CREATE` statement inside `CALL`.
47+
The following code will make two node variables available in the `CREATE` statement inside `CALL`.
4848

4949
[source, javascript]
5050
----

0 commit comments

Comments
 (0)