cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Creating Dynamic relationship by Importing data from json files

I have 3 json files in which I have created different set of nodes I wanted to know if I could dynamically create relationship by writing a query using loops
Thanks in Advance

2 REPLIES 2

Yes, you can do that using APOC. I've linked a couple of examples below. The one article is a bit older, but the syntax should still hold true.

(last example here): apoc.merge.relationship - APOC Documentation

Cheers,
Jennifer

sam_gijare
Graph Buddy

Please check cypher ref card for detailed syntax.