Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-31-2022 03:05 PM
Hi
I want to add a relationship in Neo4j browser and then I will start to connect the nodes using Bloom. I'm using Aura.
However when I enter the following in the browser it just does nothing - is this the correct syntax to add a relationship?
All I want to do is add relationship names and every example I come across any mention it only talks about creating a relationship between nodes.
Thanks
Chris
Solved! Go to Solution.
11-01-2022 08:42 AM
your 'name' property is lowercase, but you are using 'Name' in the query.
11-01-2022 01:59 AM
Yes, relations are created between two nodes. They do not live in isolation. That query should create two nodes without Labels nor properties and create a relationship between them. I doubt that is what you want. Typically you would match or merge to get each node and the create the relationship between the two found nodes using a statement simulate yours. I suggest using merge instead so the relation is not created each time if it already exists.
11-01-2022 08:35 AM
thanks - I don't get why this is failing - both nodes exist and there is a name label for each of them
example node of AHU -
11-01-2022 08:42 AM
your 'name' property is lowercase, but you are using 'Name' in the query.
All the sessions of the conference are now available online