You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/subqueries/call.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,14 +37,14 @@ RETURN dogName
37
37
38
38
== Variable scope
39
39
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.
41
41
42
42
[source, javascript]
43
43
----
44
44
new Cypher.Call(subquery, [var1, var2]);
45
45
----
46
46
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`.
0 commit comments