小编Aur*_*ter的帖子

Gremlin 更新现有属性

如何使用 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)

properties gremlin

12
推荐指数
1
解决办法
2818
查看次数

标签 统计

gremlin ×1

properties ×1