Hi All,
Any links other than Neo4j Documentation for WITH clause, is greatly appreciated.
Thanks,
GraphAcademy
CUP
Learn graphs.
Score for your country.
Represent your country in the GraphAcademy Cup.
Complete courses, earn points, and win weekly prizes.
Hi All,
Any links other than Neo4j Documentation for WITH clause, is greatly appreciated.
Thanks,
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.
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Use of WITH clause to declare variables; | 4 | 241 | March 21, 2023 | |
| The With clause | 6 | 2451 | March 17, 2019 | |
| Cypher query variable scope in different clause with WITH | 4 | 391 | October 18, 2023 | |
| Need a further clarification on "With" | 4 | 92 | October 25, 2024 | |
| Cypher: `WITH *` is legit? | 3 | 989 | October 10, 2018 |