I have 2 types of node staff and client where staff has StaffList
{
"name": "vipul",
"cprNumber": 121
}
,{
"name": "amit",
"cprNumber": 123
}
ClientList
{
"property1": "pptVal",
"cprNumber": 121
}
now I want to create a relationship between these 2 nodes like in the first case the CPR number is matched so a relationship creates "BELONGS_TO" for vipul, but since no, any node exists for amit's cpr number so a new node needs to be created and a relationship to be created.
merge
? – stdob--