Skip to content

Instantly share code, notes, and snippets.

@NikhilPeri
Last active May 26, 2022 23:45
Show Gist options
  • Save NikhilPeri/0a361b129aec1fc0e8e0730f52fc4103 to your computer and use it in GitHub Desktop.
Save NikhilPeri/0a361b129aec1fc0e8e0730f52fc4103 to your computer and use it in GitHub Desktop.
Notes from the workshop on Neo4j Cypher Syntax

Overview

Cypher is declarative

MATCH // define graph shape
(A)-[HAS]->(B)

WHERE // filter graph 
A.status = 'Active'

RETURN // return result
A, B.name

Gottchas

  • relationships are directional, but no directionality is enforced
  • properties are optional, but missing attributes are not enforced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment