Hi there, I'm new to Neo4j and Cypher
I got Neo4j running in docker Version: 5.7.0, Edition:Community.
I can't update my Nodes with Relationships.
I frist create my nodes.
LOAD CSV WITH HEADERS FROM 'file:///nodes.csv' AS row
CREATE (:Place {user_id: row.user_id
, full_name: row.full_name
, category_name:row.category_name
, latitude: toFloat(row.lat)
, longitude:toFloat(row.long)
})
Then
CREATE CONSTRAINT Place_user_id
FOR (Place:user_id) REQUIRE Place.user_id IS UNIQUE
All good until now
Now I want to update the Nodes with Relationships
LOAD CSV WITH HEADERS FROM 'file:///relationship.csv' AS row
MATCH (from:Place {properties.user_id: row.from_id})
MATCH (to:Place {properties.user_id: row.to_id})
MERGE (from)-[: CONNECTED]->(to)
But all I get is (no changes, no records). Have I set up node correct? I have done alot of google, ChatGPT and GraphAcademy