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.

Cypher clause structure

mmuthu
Node Clone

Is there any document that explains the structure of the Cypher clause, like

Match...With..Where..Return..

With my limited understanding I noticed that "With" to be used after "Match", "Where" after/before "With" etc..

Do we have any documentation around this? Please let me know. It will be helpful.

Thanks,
Mahendar

1 ACCEPTED SOLUTION

also for what its worth, using the Neo4j Browser (i.e. http://localhost:7474) and clicking the left frame and the 3rd icon which has a 'book' image, will link to our available documentation, which includes
Cypher Introduction
Cypher RefCard

View solution in original post

6 REPLIES 6

Thank you dana. It helps.

Also, It will be handy, if this docs link can be easily navigated from the https://neo4j.com/

If it helps, WHERE isn't a standalone clause, it can only follow a MATCH, OPTIONAL MATCH, or WITH clause. So think of it as MATCH WHERE..., WITH WHERE... and OPTIONAL MATCH WHERE..., that will help avoid some confusion when it comes to using a WHERE clause with an OPTIONAL MATCH (where nothing gets filtered out).

thanks Andrew. yes it helps.

also for what its worth, using the Neo4j Browser (i.e. http://localhost:7474) and clicking the left frame and the 3rd icon which has a 'book' image, will link to our available documentation, which includes
Cypher Introduction
Cypher RefCard

mmuthu
Node Clone

Thanks Dana. I got it.