Search code examples
neo4jcypher

How to get a list of node properties with Cypher in Neo4j?


I'm trying to list all of the properties for a set of nodes.

Match (n:"Indicator")
return properties(n), ID(n) 

I'm unsure of the syntax and couldn't find the answer in the refcard or docs.


Solution

  • In Neo4j version 3.0.0 you may do:

    Match (n:Indicator) return properties(n), ID(n) 
    

    To return the ID and properties of nodes.