hi
im trying to create node with label words in my database that already exist and wanna add new property(i use constraint method to have unique words name)
my query is :
merge (n:words{name:"'" , instance:"apostrophe"}) with (n) match (a:PartOfSpeech{abbr:'sym'}) merge (n)-[:IS{type:'pos'}]->(a)
so i get an error i could fix it with
merge (n:words{name:'‘'})
on match set n.instance = "apostrophe"
with (n) match (a:PartOfSpeech{abbr:'sym'}) merge (n)-[:IS{type:'pos'}]->(a)
but cause im sending query from js i wan to this be automatic is there any way