Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-26-2022 05:18 AM
Hello, I'm new to Neo4j and trying to make a simple relationship graph
from | to
a | b
a | c
b | d
b | e
In this csv file, what I'm trying to make is a->b, a->c, b->d, b-> e relationship
i tried
"""
Solved! Go to Solution.
07-26-2022 06:49 AM
Try this:
LOAD CSV WITH HEADERS FROM "file:///lg4neo.csv" AS row
merge (e1:Event {id: row.fromPan})
merge (e2:Event {id: row.toPan})
merge (e1)-[:DF_mat]->(e2)
07-26-2022 06:49 AM
Try this:
LOAD CSV WITH HEADERS FROM "file:///lg4neo.csv" AS row
merge (e1:Event {id: row.fromPan})
merge (e2:Event {id: row.toPan})
merge (e1)-[:DF_mat]->(e2)
07-26-2022 08:37 AM
thank you, this really helped me!!
really appreciated:)
07-26-2022 08:37 AM
thank you, this really helped me!
really appreciated:)
All the sessions of the conference are now available online