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

前端 未结 6 1901
梦谈多话
梦谈多话 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 17:56

    You can't do this in Cypher yet. I think it would be a nice feature though, if you want to request it.

    Edit (thanks for comment pointing it out): You can now do this as of 2.2:

    MATCH (p:Product) WHERE p.price='1950' RETURN keys(p);
    

提交回复
热议问题