Creating Relationships in Neo4j in Hindi | Lecture 3 | Neo4j Tutorial in Hindi | Mayank Gupta

Опубликовано: 27 Ноябрь 2024
на канале: Code House
4,114
77

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