如何在neo4j中使用cypher获取节点属性列表

ada*_*dam 10 neo4j cypher

我正在尝试列出一组节点的所有属性.

Match (n:"Indicator")
return properties(n), ID(n) 
Run Code Online (Sandbox Code Playgroud)

我不确定语法,无法在refcard或docs中找到答案.

Ani*_*non 11

在Neo4j 3.0.0版中,您可以:

Match (n:Indicator) return properties(n), ID(n) 
Run Code Online (Sandbox Code Playgroud)

返回节点的ID和属性.


小智 5

目前你不能使用cypher做到这一点,但它在创意板上排在前五位.