更新标签
要向节点添加或删除标签,请使用 .set 和 .remove 与节点方法 .label。
添加标签
const movie = new Cypher.Node();
const clause = new Cypher.Match(new Cypher.Pattern(movie)).set(movie.label("NewLabel"), movie.label("Another label"));
MATCH (this0)
SET
this0:NewLabel,
this0:`Another Label`