cancel
Showing results for 
Search instead for 
Did you mean: 

Neo4j Cypher File Import

While importing cypher file in neo4j browser using "apoc.cypher.runFile(fileName)" I am able to see the created nodes but the relationships are not visible between them. Kindly help me with this problem. I am using the latest version of Neo4j. Thank You

2 REPLIES 2

Hi,
I think it comes down to your file not being correct. I frequently use this function as well and have not yet had any problems.
Where does the file come from? Have you exported it previously? Did you maybe not export the relationships alongside the nodes into the file?
Regards,
Elena

Hi,
I exported it previously from my database only. I used 'call apoc.export.cypher.all("filename.cypher")' to export.
Regards
Sameer

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

On November 16 and 17 for 24 hours across all timezones, you’ll learn about best practices for beginners and experts alike.