cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Tutorial on WITH Clause

Hi All,
Any links other than Neo4j Documentation for WITH clause, is greatly appreciated.

Thanks,

1 ACCEPTED SOLUTION

Here's the entry for WITH in the Cypher docs.

It works similar to a RETURN, but allows you to continue working with the results. You can do aggregations and function calls in the WITH.

Also, it controls scope, in that only the variables you pass from the WITH clause are kept in scope, and all others drop out of scope.

View solution in original post

1 REPLY 1

Here's the entry for WITH in the Cypher docs.

It works similar to a RETURN, but allows you to continue working with the results. You can do aggregations and function calls in the WITH.

Also, it controls scope, in that only the variables you pass from the WITH clause are kept in scope, and all others drop out of scope.