Neo4j

From John Freier
Revision as of 10:56, 17 December 2015 by Jfreier (Talk | contribs) (Created page with " == Sample Cypher == Create Node CREATE (n:Label {property:'value'}) return n; Find Node By Id MATCH (n:Label) WHERE Id(n) = 0 RETURN n; Delete Node by Id MATCH (n:No...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Sample Cypher

Create Node

 CREATE (n:Label {property:'value'}) return n;

Find Node By Id

 MATCH (n:Label) WHERE Id(n) = 0 RETURN n;

Delete Node by Id

 MATCH (n:Node) WHERE Id(n) = 0 DELETE n;