仅以 Neo4j 表格格式显示属性

问题描述

在neo4j中创建标签属性查询

 Unwind $props as properties 
Merge (s:label) on create set s=properties return s. 

成功创建后我们得到

Identity :
Label :
Properties :{
the actual properties passed
}

所需的输出应该只有属性,而不是身份、标签的其他值

解决方法

那些在neo4j桌面Table列中找到的Identity和Label项被显示出来,以识别对象id和节点类。如果单击“文本”列,则会看到要返回的节点的属性。

身份、标签仅在 Neo4j 桌面可视化上返回,而不是在您将其集成到程序中时返回

见下面的例子:

enter image description here