Hi All
I want create relationships between a (a1,a2,a3...) and b (b1,b2,b3...),
where relationships are c (c1,c2,c3...).
(like a1-[:c1]->b1, a2-[:c2]->b2, a3-[:c3]->b3...)
How can I do ?
LOAD CSV WITH HEADERS FROM "file:///abc.csv" AS line
MATCH ( a: ee { ee_id: line.from } )
MATCH ( b: ee { ee_id: line.to } )
MATCH ( c: r { r_id :line.id } )
MERGE (a)-[ :c]->(b)