Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
08-18-2021 02:19 AM
Can someone confirm if the above query right at line 9, if so can someone explain me what does "i" here mean, like what does it represent or point?
The above code was a part of Turn a Harry Potter Book into a Knowledge Graph | by Tomaz Bratanic | Neo4j Developer Blog | Jul, 20... this article.
I know it's setting property weight to nodes, but where did that "i" come from, because we are using "row" as the pointer.
Thanks in advance.
Solved! Go to Solution.
08-18-2021 02:54 AM
MERGE (a)-[i:RELATIONSHIP]->(b)
When you pass a string or char followed by a : like this you're declaring a variable. If you doesn't do this, like: MERGE (a)-[:RELATIONSHIP]-(b) you would need to set the relationship properties within the MERGE query.
08-18-2021 02:54 AM
MERGE (a)-[i:RELATIONSHIP]->(b)
When you pass a string or char followed by a : like this you're declaring a variable. If you doesn't do this, like: MERGE (a)-[:RELATIONSHIP]-(b) you would need to set the relationship properties within the MERGE query.
All the sessions of the conference are now available online