快速识别所有节点参数

时间:2016-02-11 14:41:52

标签: neo4j

有没有办法快速识别节点的所有参数?比如双击图框上的想要的节点?

1 个答案:

答案 0 :(得分:0)

您可以在Neo4j浏览器中查看所选节点的所有属性:

enter image description here

如果您在属性键之后,可以使用keys Cypher函数检索节点的属性键数组:

MATCH (l:Legislator) RETURN keys(l) AS keys LIMIT 1

会返回一个字符串数组:

[gender, type, religion, party, firstName, republicanCount, lastName, democratCount, fecIDs, birthday, currentParty, washpostID, icpsrID, state, cspanID, wikipediaID, otherCount, govtrackID, opensecretsID, votesmartID, bioguideID, thomasID, lisID]