cypher 能否传入不定数量的变量和变量值后创建Node或者Relationship?
match (n {name:“test”}) with [“a”,“b”,“c”] as attr_names, [1,2,3] as attr_values with [i in range(0, size(attr_names)-1) | n.attr_names[i] = n.attr_values[i]] return n
类似上面的cypher语句,但怎么也无法调试通,只能在list内循环。
感谢各位大侠们回答!