Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- id;title;startdate;enddate;budget;description;department;supervisor;supervisor_email;member;member_email;tags
- 49206;Some title;29.09.2015;27.04.2016;4 billion;Something about the title;ABC;Person1;person1@aol.com;Person2, Person3;person2@aol.com, person3@aol.com;Some tags
- LOAD CSV WITH HEADERS FROM 'file:///..../Project.csv' AS row FIELDTERMINATOR ';'
- MERGE (pr:Project {projectID: row.id, title: row.title, startdate: row.startdate, enddate: row.enddate, budget: row.budget})
- FOREACH (n IN row.member_email |
- WITH SPLIT(row.member_email, ", ") AS memberEmails
- MERGE (p:Person {email: memberEmails})
- MERGE (p)-[:IS_MEMBER]->(pr)
- )
Add Comment
Please, Sign In to add comment