我们有一个具有int类型的属性的顶点,当我尝试为该节点更新该属性时,例如
g.V().hasLabel("business").hasNot("authenticityScore").properties("authenticityScore",0).iterate()
此查询未更新记录。
从Datastax studio更新int值时,我需要处理任何类型转换吗?>
我们有一个顶点,它的属性类型为int,当我尝试为该节点更新该属性时,例如gV()。hasLabel(“ business”)。hasNot(“ authenticityScore”)。properties(“ authenticityScore”,0 )....
该语法不正确。 properties()
步骤从图形元素(例如,顶点)获取属性列表,但是property()
设置属性键和值,因此遍历应写为: