This Video will give you a brief introduction to create relationships between nodes in Neo4j.
Neo4j in Hindi complete Playlist link : http://yt.vu/p/PLvpt9xWchPkbS-XEY2ens...
What is Relationship?
Relationships are another major building block of a Graph Database. It connects two nodes.
All the query used :
CREATE (Mayank:person{name:"Mayank Gupta"})
CREATE (TCS:company{name:"TCS"})
match (n) return n
CREATE (Mayank)-[:WORKS_IN]-(give angular bracket)(TCS)
CREATE (Rahul:person{name:"Rahul Gupta"})
CREATE (Infosys:company{name:"Infosys"})
CREATE (Rahul)-[:WORKS_IN]-(give angular bracket)(Infosys)
match (n) return n
MATCH (a:person), (b:company)
WHERE a.name="Mayank Gupta" AND b.name="TCS"
CREATE (a)-[:WORKS_IN]-(give angular bracket)(b)
match (n) return n
Would you recommend this video?
Please like, comment, share my video.
Don’t forget to Subscribe my Channel.
#Neo4j_in_Hindi #Graph_DB #Creating_relationship in Neo4j