如何使用 Gremlin 更新图中节点的现有属性?
以下方法创建两个具有 2 个不同值的属性“timestamp”,而不是更新现有属性“timestamp”:
ContentGraph.g.addV('Filter').property('timestamp', new Date());
ContentGraph.g.V().hasLabel('Filter').property('timestamp', new Date());
Run Code Online (Sandbox Code Playgroud)