Question

In the cypher manual, it is explained the 'with' clause can be used to chain queries together where the output of one part can be given as the input to the next part. Does that mean that a query using the 'with' clause is executed in several transactions (one for each part in the chain)?

Was it helpful?

Solution

No, it does not use several transactions. A single query will be executed in one large transaction regardless of the number of WITH clauses it uses. The whole thing will either pass or fail as one unit.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top