How can I return all properties for a node using Cypher?

前端 未结 6 1878
梦谈多话
梦谈多话 2020-12-15 17:23

I understand it is possible to use the wildcard (*) symbol to return all references in a Cypher query, such as:

MATCH p:Product WHERE p.price=\'1950\' RETURN         


        
6条回答
  •  既然无缘
    2020-12-15 18:01

    You can return n in your cypher query, it will return all the keys and properties of a node. eg.: MATCH (n:People) n
    This will return
    n:
    { "Date_of_Birth": "1981-04-23 00:00:00", "Employee_Last_Name": "Aaaa", "Employee_First_Name": "Baaa", "Age": 36, "Employee_Status": "Active" }

提交回复
热议问题