MATCH (n:term)
SET n.name = n.label
REMOVE n.label
RETURN n
1
votes
match (a:employee {empid:123,location:1})
set a.newlabel=a.removelabel
remove a.removelabel
return a;
0
votes
You can change your old column name by using following query
MATCH (n:term)
SET n.name = n.myproperty
REMOVE n.myproperty
RETURN n
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more