Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-06-2021 06:30 PM
Hi,
I am new to Neo4j and Cypher. I am Using Neo4j Desktop On Windows and try to improve efficiency our internal operations.
Currently, I have two nodes and a relationship connecting them. One of the nodes and a relationship have common property. I want to limit the input into relationship property values to property values that the node already has. Are there any ways to solve this issue?
Thanks in advance.
Solved! Go to Solution.
09-06-2021 10:24 PM
Thank you @ameyasoft !
The issue that had plagued me for a long time is solved immediately by your advise!
09-06-2021 09:34 PM
If I understand correctly, here is a solution:
match (a:Test1)
match (b:test2 {param: "new"})
with a, b
merge (a)-[:REL {param: b.param}]->(b)
09-06-2021 10:24 PM
Thank you @ameyasoft !
The issue that had plagued me for a long time is solved immediately by your advise!
09-06-2021 11:09 PM
Glad to help you. Thanks for your appreciation!!
All the sessions of the conference are now available online